Skip to contentSkip to conversation

ext2:delete two redundant assignments

PATCH New 潘卫平(Peter Pan) 1 participant 1 message May 12, 2010

Subsystems (2)
lore
Share & tools
lore

潘卫平(Peter Pan)

#0 lore raw

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().

---
  fs/ext2/super.c |    4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)
fs/ext2/super.c +0 -0
index 42e4a30..1cf58aa 100644
@@ -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