From: Jan Kara Date: Sat, 31 Mar 2012 12:22:10 +0000 (+0200) Subject: ext2: Remove s_dirt handling X-Git-Tag: v3.5-rc1~87^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b838ec2232b764a4903707e212c62f681b32cd51;p=pandora-kernel.git ext2: Remove s_dirt handling Places which modify superblock feature / state fields mark the superblock buffer dirty so it is written out by flusher thread. Thus there's no need to set s_dirt there. The only other fields changing in the superblock are the numbers of free blocks, free inodes and s_wtime. There's no real need to write (or even compute) these periodically. Free blocks / inodes counters are recomputed on every mount from group counters anyway and value of s_wtime is only informational and imprecise anyway. So it should be enough to write these opportunistically on mount, remount, umount, and sync_fs times. Signed-off-by: Jan Kara --- Reading git-diff-tree failed