OSDN Git Service

Btrfs: don't set for_cow parameter for tree block functions
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / fs / btrfs / ioctl.c
index 14f8e1f..7f3a913 100644 (file)
@@ -367,7 +367,7 @@ static noinline int create_subvol(struct btrfs_root *root,
                return PTR_ERR(trans);
 
        leaf = btrfs_alloc_free_block(trans, root, root->leafsize,
-                                     0, objectid, NULL, 0, 0, 0, 0);
+                                     0, objectid, NULL, 0, 0, 0);
        if (IS_ERR(leaf)) {
                ret = PTR_ERR(leaf);
                goto fail;