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)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Nov 2009 12:24:52 +0000 (07:24 -0500)
commit3f8fb9490efbd300887470a2a880a64e04dcc3f5
tree0cd1fd1ab185885cf4a4dd1416015fe2784b710f
parent86ebfd08a1930ccedb8eac0aeb1ed4b8b6a41dbc
ext4: don't update the superblock in ext4_statfs()

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>
Cc: stable@kernel.org
fs/ext4/super.c