knfsd: nfsd4: fix NFSv4 filehandle size units confusion
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 17 Jul 2007 11:04:35 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:07 +0000 (10:23 -0700)
commit33a1060ae7dc671a0208b341bd454009625bb5a6
tree67d36de661a951acd19735b86a5e5a6abf5169a2
parent9a8db97e7756119689c93c431e8b8324080f5625
knfsd: nfsd4: fix NFSv4 filehandle size units confusion

NFS4_FHSIZE is measured in bytes, not 4-byte words, so much more space than
necessary is being allocated for struct nfs4_cb_recall.

I should have wondered why this structure was so much larger than it needed to
be!

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/nfsd/state.h