Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d1296
)
Fixed missing not_fixed branch in e2fsck so that if the frag size field in
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 28 Jan 2005 02:40:53 +0000
(21:40 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 28 Jan 2005 02:40:53 +0000
(21:40 -0500)
the inode is not fixed, the inode_bad_map bitmap won't be cleared. Thanks to
Stephen Tweedie for pointing this out.
e2fsck/pass2.c
patch
|
blob
|
history
diff --git
a/e2fsck/pass2.c
b/e2fsck/pass2.c
index
ef86d31
..
9719141
100644
(file)
--- a/
e2fsck/pass2.c
+++ b/
e2fsck/pass2.c
@@
-1260,7
+1260,8
@@
extern int e2fsck_process_bad_inode(e2fsck_t ctx, ext2_ino_t dir,
if (fix_problem(ctx, PR_2_FRAG_ZERO, &pctx)) {
*frag = 0;
inode_modified++;
- }
+ } else
+ not_fixed++;
pctx.num = 0;
}
if (fsize && *fsize) {