Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153089054
D19325.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
653 B
Referenced Files
None
Subscribers
None
D19325.diff
View Options
Index: head/sys/fs/ext2fs/ext2_alloc.c
===================================================================
--- head/sys/fs/ext2fs/ext2_alloc.c
+++ head/sys/fs/ext2fs/ext2_alloc.c
@@ -1318,10 +1318,12 @@
start = 0;
loc = memcchr(&ibp[start], 0xff, len);
if (loc == NULL) {
- printf("cg = %d, ipref = %lld, fs = %s\n",
+ printf("ext2fs: inode bitmap corrupted: "
+ "cg = %d, ipref = %lld, fs = %s - run fsck\n",
cg, (long long)ipref, fs->e2fs_fsmnt);
- panic("ext2fs_nodealloccg: map corrupted");
- /* NOTREACHED */
+ brelse(bp);
+ EXT2_LOCK(ump);
+ return (0);
}
}
ipref = (loc - ibp) * NBBY + ffs(~*loc) - 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 1:44 AM (1 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31814679
Default Alt Text
D19325.diff (653 B)
Attached To
Mode
D19325: Do not panic if inode bitmap is corrupted.
Attached
Detach File
Event Timeline
Log In to Comment