]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: Avoid double dirtying of super block in ext4_put_super()
authorAndi Kleen <andi@firstfloor.org>
Tue, 7 Oct 2008 01:37:44 +0000 (21:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Oct 2008 01:37:44 +0000 (21:37 -0400)
commit39d80c33a068d9fa63a36c3b2c0d718d38440dd1
tree6110ca4101f533ced0db2fe18a7834cd8304f0a3
parent08a225f143bf3415fef6f3360d922be35da40543
ext4: Avoid double dirtying of super block in ext4_put_super()

While reading code I noticed that ext4_put_super() dirties the
superblock bh twice. It is always done in ext4_commit_super()
too. Remove the redundant dirty operation.
Should be a nop semantically.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
fs/ext4/super.c