Remove unneeded (and broken) usage of MNT_REF()/MNT_REL().

This commit is contained in:
Tor Egge 2006-03-10 02:31:12 +00:00
parent c0e239dead
commit 1e70cd7fc7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156521

View File

@ -1143,7 +1143,6 @@ ffs_sync(mp, waitfor, td)
}
lockreq |= LK_INTERLOCK | LK_SLEEPFAIL;
MNT_ILOCK(mp);
MNT_REF(mp);
loop:
/* Grab snapshot of secondary write counts */
secondary_writes = mp->mnt_secondary_writes;
@ -1187,7 +1186,6 @@ loop:
vput(vp);
MNT_ILOCK(mp);
}
MNT_REL(mp);
MNT_IUNLOCK(mp);
/*
* Force stale filesystem control information to be flushed.