[Bug 256746] fsck_ffs completely broken for background fsck

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Jul 2021 20:59:16 UTC

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit 0c5a59252c8e7b80b98521ebc23a415a05ff9594
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-07-11 20:47:27 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2021-07-11 20:47:27 +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
    MFC After:      1 week
    Differential Revision:  https://reviews.freebsd.org/D30880

 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.