Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

btrfs: fix objectid value in error message in check_extent_data_ref()

Fix a copy-paste error in check_extent_data_ref(): we're printing root
as in the message above, we should be printing objectid.

Fixes: f333a3c7e832 ("btrfs: tree-checker: validate dref root and objectid")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>

authored by

Mark Harmstone and committed by
David Sterba
a1017278 511dc891

+1 -1
+1 -1
fs/btrfs/tree-checker.c
··· 1740 1740 objectid > BTRFS_LAST_FREE_OBJECTID)) { 1741 1741 extent_err(leaf, slot, 1742 1742 "invalid extent data backref objectid value %llu", 1743 - root); 1743 + objectid); 1744 1744 return -EUCLEAN; 1745 1745 } 1746 1746 if (unlikely(!IS_ALIGNED(offset, leaf->fs_info->sectorsize))) {