NFS: Ensure we use the correct cookie in nfs_readdir_xdr_filler
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Dec 2010 02:56:32 +0000 (21:56 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Dec 2010 13:16:16 +0000 (08:16 -0500)
commit0aded708d125a3ff7e5abaea9c2d9c6d7ebbfdcd
tree124bb3e0e1cd8104f9310f7df224ca00301c10c7
parent22a5b566c8c442b0b35b3b106795e2f2b3578096
NFS: Ensure we use the correct cookie in nfs_readdir_xdr_filler

We need to use the cookie from the previous array entry, not the
actual cookie that we are searching for (except for the case of
uncached_readdir).

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c