]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: LOOKUP_DIRECTORY is also ok with symlinks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 8 Feb 2022 18:38:23 +0000 (13:38 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 14 Feb 2022 19:58:48 +0000 (14:58 -0500)
commitb5e74e9f9adf3c162dfdd01e771426de3dc2900a
treea90c0fbbf914e0e818d86083c3312f451e58fe37
parentd9b59f2cf72bfaae4ec231da19be2741258d69f6
NFS: LOOKUP_DIRECTORY is also ok with symlinks

Commit dc49d2152c0f (NFSv4: Handle case where the lookup of a directory
fails) [1], part of Linux since 5.17-rc2, introduced a regression, where
a symbolic link on an NFS mount to a directory on another NFS does not
resolve(?) the first time it is accessed:

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Fixes: dc49d2152c0f ("NFSv4: Handle case where the lookup of a directory fails")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Donald Buczek <buczek@molgen.mpg.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c