]> err.no Git - linux-2.6/commit
[PATCH] knfsd: fix auto-sizing of nfsd request/reply buffers
authorNeilBrown <neilb@suse.de>
Wed, 4 Oct 2006 09:16:15 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:21 +0000 (07:55 -0700)
commit44c556000a31e8079cfbb9a42a7edb93ca6b589a
treecd4ee059c11fb1e30d9ef09d518715d9b329aa8f
parent6b54dae2b0defb30babb0fe87b13463b9f4b2907
[PATCH] knfsd: fix auto-sizing of nfsd request/reply buffers

totalram is measured in pages, not bytes, so PAGE_SHIFT must be used when
trying to find 1/4096 of RAM.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfssvc.c