[Bug 276408] panic: Assertion error == EJUSTRETURN failed at msdosfs_vnops.c:1195
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jan 2024 23:53:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276408 --- Comment #6 from Konstantin Belousov <kib@FreeBSD.org> --- (In reply to John F. Carr from comment #5) Try this please diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 03c794bad900..258c701bd300 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -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 -- You are receiving this mail because: You are the assignee for the bug.