]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/btrfs/super.c
Btrfs: fix lockdep warning
[karo-tx-linux.git] / fs / btrfs / super.c
index 5dc54ae5ac81c4763370bbeef21684df870c6af8..a4807ced23cc5791d500d28ee9f91fdc915f5df0 100644 (file)
@@ -866,7 +866,7 @@ int btrfs_sync_fs(struct super_block *sb, int wait)
                return 0;
        }
 
-       btrfs_wait_ordered_extents(root, 0);
+       btrfs_wait_ordered_extents(root, 1);
 
        trans = btrfs_attach_transaction_barrier(root);
        if (IS_ERR(trans)) {