Author: trasz
Date: Wed Oct  8 09:44:02 2014
New Revision: 272743
URL: https://svnweb.freebsd.org/changeset/base/272743

Log:
  Simplify; no functional changes.
  
  MFC after:    1 month
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/fs/autofs/autofs.c

Modified: head/sys/fs/autofs/autofs.c
==============================================================================
--- head/sys/fs/autofs/autofs.c Wed Oct  8 09:39:18 2014        (r272742)
+++ head/sys/fs/autofs/autofs.c Wed Oct  8 09:44:02 2014        (r272743)
@@ -367,7 +367,7 @@ autofs_trigger_one(struct autofs_node *a
        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);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to