mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
btrfs: improve error message in setup_items_for_insert
Reword and update formats to match variable types. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> [ update formats ] Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
da9ffb242c
commit
7269ddd2f6
@ -4809,7 +4809,8 @@ void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
|
||||
|
||||
if (old_data < data_end) {
|
||||
btrfs_print_leaf(leaf);
|
||||
btrfs_crit(fs_info, "slot %d old_data %d data_end %d",
|
||||
btrfs_crit(fs_info,
|
||||
"item at slot %d with data offset %u beyond data end of leaf %u",
|
||||
slot, old_data, data_end);
|
||||
BUG();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user