Commit a5f519c9 authored by Stefan Behrens's avatar Stefan Behrens Committed by Chris Mason

Btrfs: fix check_int 'leaf item out of bounce' regression

Yet another cleanup patch broke code for which no xfstest exists.
Signed-off-by: default avatarStefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent 55994887
...@@ -1038,7 +1038,7 @@ static int btrfsic_process_metablock( ...@@ -1038,7 +1038,7 @@ static int btrfsic_process_metablock(
disk_item_offset, disk_item_offset,
sizeof(struct btrfs_item)); sizeof(struct btrfs_item));
item_offset = btrfs_stack_item_offset(&disk_item); item_offset = btrfs_stack_item_offset(&disk_item);
item_size = btrfs_stack_item_offset(&disk_item); item_size = btrfs_stack_item_size(&disk_item);
disk_key = &disk_item.key; disk_key = &disk_item.key;
type = btrfs_disk_key_type(disk_key); type = btrfs_disk_key_type(disk_key);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment