freebsd-src/lib/libufs
Kirk McKusick bca262f0f3 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

(cherry picked from commit 5c7ba6bdf8)
2022-11-20 09:13:49 -08:00
..
block.c
bread.3
cgread.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
cgroup.c Fix for tunefs(8) unable to add a UFS/FFS soft update journal. 2022-11-20 09:13:49 -08:00
getinode.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
inode.c Continuing efforts to provide hardening of FFS. This change adds a 2018-12-11 22:14:37 +00:00
libufs.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
libufs.h Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
Makefile pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
sblock.c Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
sbread.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
type.c The libufs library needs to track and free the new fs_si structure 2020-06-23 21:28:26 +00:00
ufs_disk_close.3