summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2022-12-07 09:43:07 +0100
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 09:20:08 -0500
commit50f5fdaea9cd6941e51ea6e07d8c15265917bb86 (patch)
tree65f52069332843e6112c195308b41ec249dd216c /fs/jfs
parentc9c3395d5e3dcc6daee66c6908354d47bf98cb0c (diff)
downloadlinux-stable-50f5fdaea9cd6941e51ea6e07d8c15265917bb86.tar.gz
linux-stable-50f5fdaea9cd6941e51ea6e07d8c15265917bb86.tar.bz2
linux-stable-50f5fdaea9cd6941e51ea6e07d8c15265917bb86.zip
NFSD: Teach nfsd_mountpoint() auto mounts
Currently nfsd_mountpoint() tests for mount points using d_mountpoint(), this works only when a mount point is already uncovered. In our case the mount point is of type auto mount and can be coverted. i.e. ->d_automount() was not called. Using d_managed() nfsd_mountpoint() can test whether a mount point is either already uncovered or can be uncovered later. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Ian Kent <raven@themaw.net> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions