FreeBSD Bugzilla – Attachment 225075 Details for
Bug 255979
fsck bad inode number 2 (256) to nextinode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix for bug.
diffs (text/plain), 652 bytes, created by
Kirk McKusick
on 2021-05-18 21:26:33 UTC
(
hide
)
Description:
Proposed fix for bug.
Filename:
MIME Type:
Creator:
Kirk McKusick
Created:
2021-05-18 21:26:33 UTC
Size:
652 bytes
patch
obsolete
>*** pass1b.c 2021-03-25 00:08:19.780541972 -0700 >--- pass1b.c.new 2021-05-18 14:27:28.445449262 -0700 >*************** >*** 60,66 **** > memset(&idesc, 0, sizeof(struct inodesc)); > idesc.id_func = pass1bcheck; > duphead = duplist; >- inumber = 0; > for (c = 0; c < sblock.fs_ncg; c++) { > if (got_siginfo) { > printf("%s: phase 1b: cyl group %d of %d (%d%%)\n", >--- 60,65 ---- >*************** >*** 77,82 **** >--- 76,82 ---- > if (inosused == 0) > continue; > setinodebuf(c, inosused); >+ inumber = c * sblock.fs_ipg; > for (i = 0; i < inosused; i++, inumber++) { > if (inumber < UFS_ROOTINO) { > (void)getnextinode(inumber, 0);
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 255979
: 225075