]> err.no Git - linux-2.6/commit
[PATCH] knfsd: allow nfsd READDIR to return 64bit cookies
authorNeilBrown <neilb@suse.de>
Tue, 27 Mar 2007 05:32:08 +0000 (21:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 27 Mar 2007 16:05:14 +0000 (09:05 -0700)
commit598b9a56373f0596ed48f7af730706aaee998d5f
tree4ed3f708e67ec38f890d22e13499ab26630a09f6
parentec28297a562f2b022115b9eb82e4ea724d996240
[PATCH] knfsd: allow nfsd READDIR to return 64bit cookies

->readdir passes lofft_t offsets (used as nfs cookies) to
nfs3svc_encode_entry{,_plus}, but when they pass it on to encode_entry it
becomes an 'off_t', which isn't good.

So filesystems that returned 64bit offsets would lose.

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/nfs3xdr.c