vfs: Make __fsync_super() a static function (version 4)

__fsync_super() does the same thing as fsync_super(). So change the only
caller to use fsync_super() and make __fsync_super() static. This removes
unnecessarily duplicated call to sync_blockdev() and prepares ground
for the changes to __fsync_super() in the following patches.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Jan Kara
2009-04-27 16:43:50 +02:00
committed by Al Viro
parent bfe881255c
commit 429479f031
3 changed files with 4 additions and 6 deletions

View File

@@ -241,7 +241,7 @@ struct super_block *freeze_bdev(struct block_device *bdev)
sb->s_frozen = SB_FREEZE_WRITE;
smp_wmb();
__fsync_super(sb);
fsync_super(sb);
sb->s_frozen = SB_FREEZE_TRANS;
smp_wmb();