]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/btrfs/super.c
Btrfs: Integrate metadata reservation with start_transaction
[net-next-2.6.git] / fs / btrfs / super.c
index 55265c24ab96188b8eededac0ede1fc6b4b27b0c..38d91c7e8db2e5ca47b4faf18558c00f6695bdec 100644 (file)
@@ -498,7 +498,7 @@ int btrfs_sync_fs(struct super_block *sb, int wait)
        btrfs_start_delalloc_inodes(root, 0);
        btrfs_wait_ordered_extents(root, 0, 0);
 
-       trans = btrfs_start_transaction(root, 1);
+       trans = btrfs_start_transaction(root, 0);
        ret = btrfs_commit_transaction(trans, root);
        return ret;
 }