[Bug 256746] fsck_ffs completely broken for background fsck
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Jul 2021 18:18:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256746
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=fb2feceac34cc9c3fb47ba4a7b0ca31637f8fdf0
commit fb2feceac34cc9c3fb47ba4a7b0ca31637f8fdf0
Author: Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-07-11 20:47:27 +0000
Commit: Robert Wing <rew@FreeBSD.org>
CommitDate: 2021-07-19 18:06:53 +0000
fsck_ffs: fix background fsck in preen mode
Background checks are only allowed for mounted filesystems - don't try
to open the device for writing when performing a background check.
While here, remove a debugging printf that's commented out.
PR: 256746
Fixes: 5cc52631b3b88dfc36d8049dc8bece8573c5f9af
Reviewed by: mckusick
Differential Revision: https://reviews.freebsd.org/D30880
(cherry picked from commit 0c5a59252c8e7b80b98521ebc23a415a05ff9594)
sbin/fsck_ffs/main.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.