[Bug 106107] UFS: fsck_ffs: left-over fsck_snapshot after unfinished background fsck if filesystem clean

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Feb 2023 20:44:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=106107

--- Comment #13 from Kirk McKusick <mckusick@FreeBSD.org> ---
(In reply to Mark Millard from comment #12)
The open of the snapshot also includes the reading of the superblock on the
snapshot. Until recently rather few checks were done, so a bad field in the
superblock could create a wild pointer that would cause fsck to segment fault.
So that would be my best guess of what caused the premature exit with the
snapshot still in place. I should reorganize the code to do the unlink
immediately after the open to close that window.

-- 
You are receiving this mail because:
You are the assignee for the bug.