]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: remove special-case revalidate in nfs_opendir()
authorNeilBrown <neilb@suse.com>
Fri, 25 Aug 2017 07:34:41 +0000 (17:34 +1000)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 16 Oct 2017 17:51:27 +0000 (13:51 -0400)
commit12bafb8ea4c8e44de8ad9cc9cc291f0649f26266
tree0098807dcb6215d1d6ddd8cb88ff579763ff4442
parente6afa6b99b0630ddbf118adb2ca09daf2693242b
NFS: remove special-case revalidate in nfs_opendir()

Commit f5afeebbc308 ("NFS: allow close-to-open cache semantics to
apply to root of NFS filesystem") added a call to
__nfs_revalidate_inode() to nfs_opendir to as the lookup
process wouldn't reliable do this.

Subsequent commit cef30859adf4 ("VFS: we need to set LOOKUP_JUMPED
on mountpoint crossing") make this unnecessary.  So remove the
unnecessary code.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c