FreeBSD Bugzilla – Attachment 202888 Details for
Bug 236504
[gmirror][UFS2] "Superblock check-hash failed" messages seen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix bug.
diffs.txt (text/plain), 629 bytes, created by
Kirk McKusick
on 2019-03-15 21:05:00 UTC
(
hide
)
Description:
Proposed patch to fix bug.
Filename:
MIME Type:
Creator:
Kirk McKusick
Created:
2019-03-15 21:05:00 UTC
Size:
629 bytes
patch
obsolete
>Index: sys/geom/label/g_label_ufs.c >=================================================================== >--- sys/geom/label/g_label_ufs.c (revision 345174) >+++ sys/geom/label/g_label_ufs.c (working copy) >@@ -76,8 +76,8 @@ g_label_ufs_taste_common(struct g_consumer *cp, ch > label[0] = '\0'; > > fs = NULL; >- if (SBLOCKSIZE % pp->sectorsize != 0 || >- ffs_sbget(cp, &fs, STDSB, M_GEOM, g_use_g_read_data) != 0) { >+ if (SBLOCKSIZE % pp->sectorsize != 0 || ffs_sbget(cp, &fs, >+ STDSB_NOHASHFAIL, M_GEOM, g_use_g_read_data) != 0) { > KASSERT(fs == NULL, > ("g_label_ufs_taste_common: non-NULL fs %p\n", fs)); > return;
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
Actions:
View
|
Diff
Attachments on
bug 236504
: 202888