]> err.no Git - linux-2.6/commit
knfsd: nfsd4: fix enc_stateid_sz for nfsd callbacks
authorBenny Halevy <bhalevy@panasas.com>
Tue, 17 Jul 2007 11:04:37 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:07 +0000 (10:23 -0700)
commit0ac68d17996eb421dde51452b89d5545ba07c6fe
tree444ac8b89189e6b3e543df82c04b4d570c3133f6
parentf7fede4b27bfc6c987d6da8e40384b1b098830bb
knfsd: nfsd4: fix enc_stateid_sz for nfsd callbacks

enc_stateid_sz should be given in u32 words units, not bytes, so we were
overestimating the buffer space needed here.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
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>
fs/nfsd/nfs4callback.c