mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
Remove unneeded (and broken) usage of MNT_REF()/MNT_REL().
This commit is contained in:
parent
c0e239dead
commit
1e70cd7fc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156521
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user