Re: [NFS] [PATCH 008 of 11] knfsd: Prepare knfsd for support ofrsize/wsize of up to 1MB, over TCP.

From: Andrew Morton
Date: Wed Sep 27 2006 - 23:47:00 EST


On Thu, 28 Sep 2006 13:41:27 +1000
Neil Brown <neilb@xxxxxxx> wrote:

> pages = 2 + (size+ PAGE_SIZE -1) / PAGE_SIZE;

That's (the newly-added) DIV_ROUND_UP().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/