]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit659cbdeb56707b74709417953caa3ab739c3bbbf
tree124bb3e0e1cd8104f9310f7df224ca00301c10c7
parente5dab8ed47bb8c4cc8049ace5062db5d6038924f
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