ext4: remove useless marking of superblock dirty
authorJan Kara <jack@suse.cz>
Mon, 23 Jul 2012 00:29:31 +0000 (20:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jul 2012 00:29:31 +0000 (20:29 -0400)
commit97a7406880f61d7f89d613cf72e87682420e66b0
treecb6a314383e5279718eaa66c6d549d90e85aee99
parent254706056be7e4e161ae9675ead6cd4e269be966
ext4: remove useless marking of superblock dirty

Commit a0375156 properly notes that superblock doesn't need to be marked
as dirty when only number of free inodes / blocks / number of directories
changes since that is recomputed on each mount anyway. However that comment
leaves some unnecessary markings as dirty in place. Remove these.

Artem: tested using xfstests for both journalled and non-journalled ext4.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Tested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ext4/ialloc.c
fs/ext4/mballoc.c