[Bug 259090] UFS: bad file descriptor: soft update journaling can not be enabled on some FreeBSD-provided disk images – failed to write updated cg

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 12 Nov 2022 23:38:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259090

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=5c7ba6bdf83fda82cce70f384e2ec8218f13002e

commit 5c7ba6bdf83fda82cce70f384e2ec8218f13002e
Author:     Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2022-11-12 23:36:07 +0000
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2022-11-12 23:37:27 +0000

    Fix for tunefs(8) unable to add a UFS/FFS soft update journal.

    The reported bug is UFS: bad file descriptor: soft update journaling
    can not be enabled on some FreeBSD-provided disk images – failed
    to write updated cg.

    The UFS library (libufs(3)) failed to reopen its disk descriptor
    when first attempting to update a cylinder group. The error only
    occurred when trying to add journaling to a filesystem whose first
    cylinder group was too full to hold the journal.

    PR:           259090
    MFC after:    1 week
    Sponsored by: The FreeBSD Foundation

 lib/libufs/cgroup.c | 4 ++++
 1 file changed, 4 insertions(+)

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