ext2: Fold ext2_commit_super() into ext2_sync_super()
authorJan Blunck <jblunck@suse.de>
Wed, 14 Apr 2010 12:38:36 +0000 (14:38 +0200)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:39 +0000 (19:30 +0200)
commitee6921ebd04cb807dfe88b10ad80f1124813c673
treea8892d816bb76c07b5e0f0df70596ccf0bfb6f98
parent20da9baf4cf9c627aaf7b00d64ce0b2221bab9bf
ext2: Fold ext2_commit_super() into ext2_sync_super()

Both function originally did similar things except that ext2_sync_super()
is returning after the call to sync_dirty_buffer(sbh). Therefore this
patch adds a wait flag to tell ext2_sync_super() if it has to call
sync_dirty_buffer() to wait for in-progress I/O to finish.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c