diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-10-21 14:18:17 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 22:04:06 -0500 |
commit | a5f519c91df8d81b3e6ed3489806ba66f6b82ca7 (patch) | |
tree | c0b89c206217df379fcbcb666afbfc1711ad3c7e | |
parent | 55994887082d6e9b3d31b55fc5be158fd97eadbc (diff) | |
download | op-kernel-dev-a5f519c91df8d81b3e6ed3489806ba66f6b82ca7.zip op-kernel-dev-a5f519c91df8d81b3e6ed3489806ba66f6b82ca7.tar.gz |
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>
-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 1c47be1..3281f7e 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); |