mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue