Skip to content

Commit

Permalink
msdosfs_remount_ro(): correct vfs_unbusy() loop
Browse files Browse the repository at this point in the history
PR:	276408
Reported by:	 John F. Carr
Fixes:	13ccb04
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
  • Loading branch information
kostikbel authored and bsdjhb committed Mar 15, 2024
2 parents 9a1bcd5 + 4b3ffc5 commit 18fecbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/fs/msdosfs/msdosfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18fecbe

Please sign in to comment.