]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit866c548eb290166ab5e634ef1170a5d69dcd2ed4
treecb6a314383e5279718eaa66c6d549d90e85aee99
parente4436cfb8062d81c6a3e5490137b06742840e6bb
ext4: remove useless marking of superblock dirty

Commit 916599f5 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