mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
msdosfs_remount_ro(): correct vfs_unbusy() loop
PR: 276408
Reported by: John F. Carr
Fixes: 13ccb04589
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
This commit is contained in:
parent
e0deb85065
commit
4b3ffc5918
|
@ -1006,9 +1006,8 @@ msdosfs_remount_ro(void *arg, int pending)
|
|||
}
|
||||
MSDOSFS_UNLOCK_MP(pmp);
|
||||
|
||||
do {
|
||||
while (--pending >= 0)
|
||||
vfs_unbusy(pmp->pm_mountp);
|
||||
} while (--pending >= 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue