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:
7b7370b
)
check_ea_in_inode: Cleanup e2fsck_write_inode_full() call
author
Dmitry V. Levin
<ldv@altlinux.org>
Sat, 20 Oct 2007 18:10:26 +0000
(22:10 +0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 1 Nov 2007 04:32:32 +0000
(
00:32
-0400)
Avoid pointer cast and call e2fsck_write_inode_full() the same way
as check_inode_extra_space() does.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
patch
|
blob
|
history
diff --git
a/e2fsck/pass1.c
b/e2fsck/pass1.c
index
ceb9c7f
..
e3f919b
100644
(file)
--- 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");
}