From: Dmitry V. Levin Date: Sat, 20 Oct 2007 18:10:26 +0000 (+0400) Subject: check_ea_in_inode: Cleanup e2fsck_write_inode_full() call X-Git-Tag: v1.41-WIP-0427~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da938f20ac22a6b748640206b76e60616fde2668;p=thirdparty%2Fe2fsprogs.git check_ea_in_inode: Cleanup e2fsck_write_inode_full() call Avoid pointer cast and call e2fsck_write_inode_full() the same way as check_inode_extra_space() does. Signed-off-by: Dmitry V. Levin Signed-off-by: Theodore Ts'o --- diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index ceb9c7f72..e3f919b8b 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -316,7 +316,7 @@ fix: /* simple remove all possible EA(s) */ *((__u32 *)start) = 0UL; - e2fsck_write_inode_full(ctx, pctx->ino, (struct ext2_inode *) inode, + e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode, EXT2_INODE_SIZE(sb), "pass1"); }