summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/autofs/autofs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/autofs/autofs.c b/sys/fs/autofs/autofs.c
index f6838f9..09f3c62 100644
--- a/sys/fs/autofs/autofs.c
+++ b/sys/fs/autofs/autofs.c
@@ -367,7 +367,7 @@ autofs_trigger_one(struct autofs_node *anp,
char *key, *path;
int error = 0, request_error, last;
- amp = VFSTOAUTOFS(anp->an_vnode->v_mount);
+ amp = anp->an_mount;
sx_assert(&autofs_softc->sc_lock, SA_XLOCKED);
OpenPOWER on IntegriCloud