From da938f20ac22a6b748640206b76e60616fde2668 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 20 Oct 2007 22:10:26 +0400 Subject: [PATCH] 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 --- e2fsck/pass1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index ceb9c7f..e3f919b 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"); } -- 1.8.3.1