NFS: nfs_readdir_search_for_cookie() don't mark as eof if cookie not found
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Dec 2010 17:41:58 +0000 (12:41 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Dec 2010 17:41:58 +0000 (12:41 -0500)
commit18fb5fe40ce7f789b5cfc3aa81ff1e6175b0a5be
treee7d191c921142ecb1cb2eba0634cb0c6ba89459d
parent11de3b11e08cac26d59e88efaf4e316701883552
NFS: nfs_readdir_search_for_cookie() don't mark as eof if cookie not found

If we're searching for a specific cookie, and it isn't found in the page
cache, we should try an uncached_readdir(). To do so, we return EBADCOOKIE,
but we don't set desc->eof.

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