OSDN Git Service

NFS: Don't request readdirplus when revalidation was forced
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 19 Feb 2022 15:06:05 +0000 (10:06 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Mar 2022 13:43:39 +0000 (08:43 -0500)
commit0b3cc71b5ab31ef90eb9b8b2d8ca580fbf88c590
treef07861ba29c84f838b444670aafc3ae6f6f20eb1
parent2c2c336506e9bd4056fca25301b8a06fb7aefd32
NFS: Don't request readdirplus when revalidation was forced

If the revalidation was forced, due to the presence of a LOOKUP_EXCL or
a LOOKUP_REVAL flag, then readdirplus won't help. It also can't help
when we're doing a path component lookup.

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