[Bug 256511] UFS assertion failure when shutting down from single-user mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Jun 2021 13:48:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256511 --- Comment #5 from Konstantin Belousov <kib@FreeBSD.org> --- I do not think that the patch is entirely correct. Imagine that we have rw/SU mounted volume, which is updated. Then, if namei fails, you would remove SU structures from the ufsmount without a reason. IMO the cleaning of the um_softdep should only occur if we set it up in the previous MNT_UPDATE {} block. The problem with the inconsistent names for devfs before/after move of devfs to /dev is inherent. You might add something special-cased for e.g. updating UFS-type volume mounted on /, where "from" mount option does not start with '/'. Anything more generic would probably break some cases. Please put patch into the phabricator instead of attaching it to the bug report. -- You are receiving this mail because: You are the assignee for the bug.