diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-10-21 14:18:17 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-12 04:04:06 +0100 |
commit | a5f519c91df8d81b3e6ed3489806ba66f6b82ca7 (patch) | |
tree | c0b89c206217df379fcbcb666afbfc1711ad3c7e /fs/btrfs/check-integrity.c | |
parent | Btrfs: optimize extent item search in run_delayed_extent_op (diff) | |
download | linux-a5f519c91df8d81b3e6ed3489806ba66f6b82ca7.tar.xz linux-a5f519c91df8d81b3e6ed3489806ba66f6b82ca7.zip |
Btrfs: fix check_int 'leaf item out of bounce' regression
Yet another cleanup patch broke code for which no xfstest exists.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
-rw-r--r-- | fs/btrfs/check-integrity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index 1c47be187240..3281f7ebc0f7 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -1038,7 +1038,7 @@ leaf_item_out_of_bounce_error: disk_item_offset, sizeof(struct btrfs_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; type = btrfs_disk_key_type(disk_key); |