1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Simplify; no functional changes.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2014-10-08 09:44:02 +00:00
parent 7efff25b10
commit 5d28b9ed32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272743

View File

@ -367,7 +367,7 @@ autofs_trigger_one(struct autofs_node *anp,
char *key, *path; char *key, *path;
int error = 0, request_error, last; 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); sx_assert(&autofs_softc->sc_lock, SA_XLOCKED);