]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: don't update the superblock in ext4_statfs()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Nov 2009 12:24:52 +0000 (07:24 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:07:34 +0000 (08:07 -0800)
commita0dacfcfac479a5b950a8d863fe8b55328a6e1cd
treecbaa348a0aa0d199983a4276436931a87c76001c
parentc1e25a5675eac46bee85953720705efceceb70a2
ext4: don't update the superblock in ext4_statfs()

(cherry picked from commit 3f8fb9490efbd300887470a2a880a64e04dcc3f5)

commit a71ce8c6c9bf269b192f352ea555217815cf027e updated ext4_statfs()
to update the on-disk superblock counters, but modified this buffer
directly without any journaling of the change.  This is one of the
accesses that was causing the crc errors in journal replay as seen in
kernel.org bugzilla #14354.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/super.c