OSDN Git Service

btrfs: Remove chunk_objectid argument from btrfs_make_block_group
[android-x86/kernel.git] / fs / btrfs / volumes.c
index 3561397..1df1044 100644 (file)
@@ -4826,9 +4826,7 @@ static int __btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
                goto error;
        }
 
-       ret = btrfs_make_block_group(trans, info, 0, type,
-                                    BTRFS_FIRST_CHUNK_TREE_OBJECTID,
-                                    start, num_bytes);
+       ret = btrfs_make_block_group(trans, info, 0, type, start, num_bytes);
        if (ret)
                goto error_del_extent;