]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0754f06815e39f451f3d9eb9e47a30140a64d63f
tree2f519efaf6144cb3f34952fce4c1f21d95259269
parentc4f1be5ac3c375c538c768a824a7aa76361a23e4
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