]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd4: Remove check for a 32-bit cookie in nfsd4_readdir()
authorBernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Mon, 8 Aug 2011 15:38:08 +0000 (17:38 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 16 Aug 2011 19:19:28 +0000 (15:19 -0400)
commit832023bffb4b493f230be901f681020caf3ed1f8
tree6e37127380ad25c989fe29e9227db2541b43db77
parent322a8b034003c0d46d39af85bf24fee27b902f48
nfsd4: Remove check for a 32-bit cookie in nfsd4_readdir()

Fan Yong <yong.fan@whamcloud.com> noticed setting
FMODE_32bithash wouldn't work with nfsd v4, as
nfsd4_readdir() checks for 32 bit cookies. However, according to RFC 3530
cookies have a 64 bit type and cookies are also defined as u64 in
'struct nfsd4_readdir'. So remove the test for >32-bit values.

Cc: stable@kernel.org
Signed-off-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c