ext2:delete two redundant assignments
Subsystems (2)
潘卫平(Peter Pan)
PATCH 1/1 ext2:delete two redundant assignments
es->s_free_blocks_count and es->s_free_inodes_count are assigned in ext2_sync_super().
Signed-off-by Peter Pan <[email protected]>
--- fs/ext2/super.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
fs/ext2/super.c +0 -0
@@ -1182,10 +1182,6 @@ static int ext2_sync_fs(struct super_block *sb,
int wait)
if (es->s_state & cpu_to_le16(EXT2_VALID_FS)) {
ext2_debug("setting valid to 0\n"); es->s_state &= cpu_to_le16(~EXT2_VALID_FS);
- es->s_free_blocks_count - cpu_to_le32(ext2_count_free_blocks(sb));
- es->s_free_inodes_count - cpu_to_le32(ext2_count_free_inodes(sb));
es->s_mtime = cpu_to_le32(get_seconds()); ext2_sync_super(sb, es);
} else {
Signature · 1 line
1.6.6