Author: trasz
Date: Tue May 17 12:04:39 2016
New Revision: 300047
URL: https://svnweb.freebsd.org/changeset/base/300047

Log:
  Silence down the "insmntque() failed" autofs error; it happens
  on shutdown and is perfectly normal.
  
  MFC after:    1 month
  Sponsored by: The FreeBSD Foundation

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

Modified: head/sys/fs/autofs/autofs_vnops.c
==============================================================================
--- head/sys/fs/autofs/autofs_vnops.c   Tue May 17 11:59:38 2016        
(r300046)
+++ head/sys/fs/autofs/autofs_vnops.c   Tue May 17 12:04:39 2016        
(r300047)
@@ -686,7 +686,7 @@ autofs_node_vn(struct autofs_node *anp, 
 
        error = insmntque(vp, mp);
        if (error != 0) {
-               AUTOFS_WARN("insmntque() failed with error %d", error);
+               AUTOFS_DEBUG("insmntque() failed with error %d", error);
                sx_xunlock(&anp->an_vnode_lock);
                return (error);
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to