mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Fix fsck_ffs Pass 1b error exit "bad inode number 2 to nextinode".
(cherry picked from commit bc444e2ec6)
This commit is contained in:
1 parent
ea96dcc6e2
commit
fab7c18ce3
1 file changed
+3
-1
@@ -78,8 +78,10 @@ pass1b(void)
|
||||
continue;
|
||||
setinodebuf(c, inosused);
|
||||
for (i = 0; i < inosused; i++, inumber++) {
|
||||
if (inumber < UFS_ROOTINO)
|
||||
if (inumber < UFS_ROOTINO) {
|
||||
(void)getnextinode(inumber, 0);
|
||||
continue;
|
||||
}
|
||||
dp = getnextinode(inumber, 0);
|
||||
idesc.id_number = inumber;
|
||||
idesc.id_type = inoinfo(inumber)->ino_idtype;
|
||||
|
||||
Reference in new issue
Block a user