FreeBSD Bugzilla – Attachment 225097 Details for
Bug 245907
fsck_ufs segfaults with gjournal (SU+J)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed bug fix.
diff-fsck (text/plain), 766 bytes, created by
Kirk McKusick
on 2021-05-19 21:01:38 UTC
(
hide
)
Description:
Proposed bug fix.
Filename:
MIME Type:
Creator:
Kirk McKusick
Created:
2021-05-19 21:01:38 UTC
Size:
766 bytes
patch
obsolete
>diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c >index 401ee10f9be3..642e321fdd35 100644 >--- a/sbin/fsck_ffs/main.c >+++ b/sbin/fsck_ffs/main.c >@@ -272,6 +272,7 @@ checkfilesys(char *filesys) > * exit status will cause a foreground check to be run. > */ > sblock_init(); >+ bufinit(); > if (bkgrdcheck) { > if ((fsreadfd = open(filesys, O_RDONLY)) < 0 || readsb(0) == 0) > exit(3); /* Cannot read superblock */ >diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c >index 0ae7f1bbb28f..d69beff879e9 100644 >--- a/sbin/fsck_ffs/setup.c >+++ b/sbin/fsck_ffs/setup.c >@@ -298,7 +298,6 @@ setup(char *dev) > (uintmax_t)numdirs * sizeof(struct inoinfo *)); > goto badsb; > } >- bufinit(); > if (sblock.fs_flags & FS_DOSOFTDEP) > usedsoftdep = 1; > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mckusick
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 245907
:
225092
| 225097