Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307919
b: refs/heads/master
c: b838ec2
h: refs/heads/master
i:
  307917: cc0abef
  307915: e34c218
  307911: d262014
  307903: f566fa0
v: v3
  • Loading branch information
Jan Kara committed Apr 11, 2012
1 parent fdfe7ce commit aaee84f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2b2242081314ee4385f3b49d92b0adff8324d80
refs/heads/master: b838ec2232b764a4903707e212c62f681b32cd51
2 changes: 0 additions & 2 deletions trunk/fs/ext2/balloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ static void release_blocks(struct super_block *sb, int count)
struct ext2_sb_info *sbi = EXT2_SB(sb);

percpu_counter_add(&sbi->s_freeblocks_counter, count);
sb->s_dirt = 1;
}
}

Expand All @@ -180,7 +179,6 @@ static void group_adjust_blocks(struct super_block *sb, int group_no,
free_blocks = le16_to_cpu(desc->bg_free_blocks_count);
desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count);
spin_unlock(sb_bgl_lock(sbi, group_no));
sb->s_dirt = 1;
mark_buffer_dirty(bh);
}
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/ext2/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ static void ext2_release_inode(struct super_block *sb, int group, int dir)
spin_unlock(sb_bgl_lock(EXT2_SB(sb), group));
if (dir)
percpu_counter_dec(&EXT2_SB(sb)->s_dirs_counter);
sb->s_dirt = 1;
mark_buffer_dirty(bh);
}

Expand Down Expand Up @@ -543,7 +542,6 @@ struct inode *ext2_new_inode(struct inode *dir, umode_t mode,
}
spin_unlock(sb_bgl_lock(sbi, group));

sb->s_dirt = 1;
mark_buffer_dirty(bh2);
if (test_opt(sb, GRPID)) {
inode->i_mode = mode;
Expand Down
3 changes: 0 additions & 3 deletions trunk/fs/ext2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,6 @@ static void ext2_sync_super(struct super_block *sb, struct ext2_super_block *es,
mark_buffer_dirty(EXT2_SB(sb)->s_sbh);
if (wait)
sync_dirty_buffer(EXT2_SB(sb)->s_sbh);
sb->s_dirt = 0;
}

/*
Expand Down Expand Up @@ -1191,8 +1190,6 @@ void ext2_write_super(struct super_block *sb)
{
if (!(sb->s_flags & MS_RDONLY))
ext2_sync_fs(sb, 1);
else
sb->s_dirt = 0;
}

static int ext2_remount (struct super_block * sb, int * flags, char * data)
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/ext2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ static void ext2_xattr_update_super_block(struct super_block *sb)
spin_lock(&EXT2_SB(sb)->s_lock);
EXT2_SET_COMPAT_FEATURE(sb, EXT2_FEATURE_COMPAT_EXT_ATTR);
spin_unlock(&EXT2_SB(sb)->s_lock);
sb->s_dirt = 1;
mark_buffer_dirty(EXT2_SB(sb)->s_sbh);
}

Expand Down

0 comments on commit aaee84f

Please sign in to comment.