summaryrefslogtreecommitdiffstats
path: root/sys/fs/autofs
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-10-08 09:44:02 +0000
committertrasz <trasz@FreeBSD.org>2014-10-08 09:44:02 +0000
commitce66e045bfaec0e6e368d0219a03387d1539d931 (patch)
treebb184cfdb382f7abecf3b2f2391514eab5fa19a5 /sys/fs/autofs
parent40d750b7fb538b2b9cd2b760fb83b1885548aca7 (diff)
downloadFreeBSD-src-ce66e045bfaec0e6e368d0219a03387d1539d931.zip
FreeBSD-src-ce66e045bfaec0e6e368d0219a03387d1539d931.tar.gz
Simplify; no functional changes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/fs/autofs')
-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 719a2c5..a2aa6c1 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