ext4: Remove duplicate call to ext4_commit_super() in ext4_freeze()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 28 Feb 2009 05:08:53 +0000 (00:08 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 28 Feb 2009 05:08:53 +0000 (00:08 -0500)
commit8b1a8ff8b321a9384304aeea4dbdb9747daf7ee8
tree7be11423c5b5a10e085122b5a3e8d004e5fa865a
parentebd3610b110bbb18ea6f9f2aeed1e1068c537227
ext4: Remove duplicate call to ext4_commit_super() in ext4_freeze()

Commit c4be0c1d added error checking to ext4_freeze() when calling
ext4_commit_super().  Unfortunately the patch failed to remove the
original call to ext4_commit_super(), with the net result that when
freezing the filesystem, the superblock gets written twice, the first
time without error checking.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c