diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-28 09:29:35 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-28 09:29:35 -0400 |
commit | 7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8 (patch) | |
tree | 6d3db5ec3a394dfcf143869796f1c59c4e86278f /fs/btrfs/super.c | |
parent | 06a2f9fa4c12a055cc396936408a78ae0acfb6b4 (diff) |
Btrfs: smarter transaction writeback
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index a10e902d3102..1890e8648dbd 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -980,7 +980,6 @@ static int btrfs_sync_fs(struct super_block *sb, int wait) | |||
980 | filemap_flush(root->fs_info->btree_inode->i_mapping); | 980 | filemap_flush(root->fs_info->btree_inode->i_mapping); |
981 | return 0; | 981 | return 0; |
982 | } | 982 | } |
983 | filemap_write_and_wait(root->fs_info->btree_inode->i_mapping); | ||
984 | mutex_lock(&root->fs_info->fs_mutex); | 983 | mutex_lock(&root->fs_info->fs_mutex); |
985 | trans = btrfs_start_transaction(root, 1); | 984 | trans = btrfs_start_transaction(root, 1); |
986 | ret = btrfs_commit_transaction(trans, root); | 985 | ret = btrfs_commit_transaction(trans, root); |