aboutsummaryrefslogtreecommitdiff
path: root/e2fsck/pass1.c
diff options
context:
space:
mode:
authorTahsin Erdogan <tahsin@google.com>2017-07-04 23:53:59 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-07-04 23:53:59 -0400
commitefab58d9e8312f8ff546bfcc30c4c084dd2e5f3c (patch)
treee5dbf5e095dc085743c3a4ed3c0c725fdcc522ca /e2fsck/pass1.c
parent2477e163f8a052c7fad9f361ad2c1f8d54c18eff (diff)
downloade2fsprogs-efab58d9e8312f8ff546bfcc30c4c084dd2e5f3c.tar.gz
e2fsck: do not early terminate extra space check
When check_inode_extra_space() detects a problem with the value of i_extra_isize, it adjusts it and then returns without further validation of contents in the inode body. Change this so that it will proceed to check inline extended attributes. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/pass1.c')
-rw-r--r--e2fsck/pass1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c
index 40ee7fda..295ea09b 100644
--- a/e2fsck/pass1.c
+++ b/e2fsck/pass1.c
@@ -582,7 +582,6 @@ static void check_inode_extra_space(e2fsck_t ctx, struct problem_context *pctx)
inode->i_extra_isize = (inode->i_extra_isize + 3) & ~3;
e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode,
EXT2_INODE_SIZE(sb), "pass1");
- return;
}
/* check if there is no place for an EA header */