aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2020-06-23 21:28:26 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2020-06-23 21:28:26 +0000
commit92c839a156ba96c821e8b6c16892f583115b6d40 (patch)
tree55e44e30e4630c6dcd9deacb182d0803d0e069c5 /sbin/fsck_ffs
parent7ac5cc13b53504d85d91d30c16fe0a5a950b2589 (diff)
downloadsrc-92c839a156ba96c821e8b6c16892f583115b6d40.tar.gz
src-92c839a156ba96c821e8b6c16892f583115b6d40.zip
The libufs library needs to track and free the new fs_si structure
in addition to the fs_csp structure that it references. PR: 247425 Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=362559
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 0fcaf05f6bec..eb04204127f5 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -216,7 +216,7 @@ setup(char *dev)
disk.d_ufs = (sblock.fs_magic == FS_UFS1_MAGIC) ? 1 : 2;
disk.d_bsize = sblock.fs_fsize / fsbtodb(&sblock, 1);
disk.d_sblock = sblock.fs_sblockloc / disk.d_bsize;
- disk.d_sbcsum = sblock.fs_csp;
+ disk.d_si = sblock.fs_si;
if (skipclean && ckclean && sblock.fs_clean) {
pwarn("FILE SYSTEM CLEAN; SKIPPING CHECKS\n");