]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - fs/btrfs/super.c
Btrfs: do delay iput in sync_fs
[linux-imx.git] / fs / btrfs / super.c
index 41d81bee583dae436a8b5c70cc761685d79290ee..14d2be03f95a1c191b03cf017f6e8b42c0feaef1 100644 (file)
@@ -862,7 +862,7 @@ int btrfs_sync_fs(struct super_block *sb, int wait)
                return 0;
        }
 
-       btrfs_wait_all_ordered_extents(fs_info, 0);
+       btrfs_wait_all_ordered_extents(fs_info, 1);
 
        trans = btrfs_attach_transaction_barrier(root);
        if (IS_ERR(trans)) {