knfsd: allow nfsd READDIR to return 64bit cookies
commit776a0f3d4b4b79ec8eb85af188bed1f6ad47143c
authorNeil Brown <neilb@suse.de>
Fri, 2 Nov 2007 22:08:36 +0000 (2 23:08 +0100)
committerAdrian Bunk <bunk@kernel.org>
Fri, 2 Nov 2007 23:56:46 +0000 (3 00:56 +0100)
tree8c76538135a4129f55fcb755731c7b1dae120726
parent5ef24c6873e39aec57239e4623e6bc0182cc8954
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: Adrian Bunk <bunk@kernel.org>
fs/nfsd/nfs3xdr.c