Skip to content
Commit 50f5fdae authored by Richard Weinberger's avatar Richard Weinberger Committed by Chuck Lever
Browse files

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: default avatarRichard Weinberger <richard@nod.at>
Reviewed-by: default avatarIan Kent <raven@themaw.net>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent c9c3395d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment