Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F22746520
diffs
mckusick (Marshall Kirk McKusick)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
mckusick
May 29 2021, 3:06 AM
2021-05-29 03:06:04 (UTC+0)
Size
392 B
Referenced Files
None
Subscribers
None
diffs
View Options
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index d69beff..3099b5f 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -436,6 +436,7 @@ sblock_init(void)
if (sblk.b_un.b_buf == NULL || asblk.b_un.b_buf == NULL)
errx(EEXIT, "cannot allocate space for superblock");
dev_bsize = secsize = DEV_BSIZE;
+ sblock.fs_bsize = MAXBSIZE; /* for bufinit() */
}
/*
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3746765
Default Alt Text
diffs (392 B)
Attached To
Mode
D30537: fsck_ffs(8): do bufinit() just before gjournal_check()
Attached
Detach File
Event Timeline
Log In to Comment