btrfs-progs: update btrfs_insert_empty_item to match the kernel
In the kernel the key for btrfs_insert_empty_item is a const, update the helper to match the in-kernel version. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
8920697c4c
commit
cc8904e8b5
|
@ -1040,7 +1040,7 @@ int btrfs_insert_empty_items(struct btrfs_trans_handle *trans,
|
|||
static inline int btrfs_insert_empty_item(struct btrfs_trans_handle *trans,
|
||||
struct btrfs_root *root,
|
||||
struct btrfs_path *path,
|
||||
struct btrfs_key *key,
|
||||
const struct btrfs_key *key,
|
||||
u32 data_size)
|
||||
{
|
||||
struct btrfs_item_batch batch;
|
||||
|
|
Loading…
Reference in New Issue