OSDN Git Service

NFSv4: Fix lookup revalidate of regular files
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 28 Sep 2018 16:42:51 +0000 (12:42 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:18 +0000 (15:35 -0400)
commitc7944ebb9ce9461079659e9e6ec5baaf73724b3b
tree2f519efaf6144cb3f34952fce4c1f21d95259269
parent5ceb9d7fdaaf6d8ced6cd7861cf1deb9cd93fa47
NFSv4: Fix lookup revalidate of regular files

If we're revalidating an existing dentry in order to open a file, we need
to ensure that we check the directory has not changed before we optimise
away the lookup.

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