]> 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)
commit9763121815070e77905b848a2aa87b86e16b0f4a
tree2f519efaf6144cb3f34952fce4c1f21d95259269
parent8cd49d646f869904d5ef06965ada6c93316ef53c
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