commit | ee6921ebd04cb807dfe88b10ad80f1124813c673 | [log] [tgz] |
---|---|---|
author | Jan Blunck <jblunck@suse.de> | Wed Apr 14 14:38:36 2010 +0200 |
committer | Jan Kara <jack@suse.cz> | Fri May 21 19:30:39 2010 +0200 |
tree | a8892d816bb76c07b5e0f0df70596ccf0bfb6f98 | |
parent | 20da9baf4cf9c627aaf7b00d64ce0b2221bab9bf [diff] |
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>