Silence down the "insmntque() failed" autofs error; it happens

on shutdown and is perfectly normal.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2016-05-17 12:04:39 +00:00
parent 0fbbc37da3
commit e635011374
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300047

View File

@ -686,7 +686,7 @@ autofs_node_vn(struct autofs_node *anp, struct mount *mp, int flags,
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);
}