]> www.infradead.org Git - nvme.git/commit
btrfs: only print error message when checking item size in print_extent_item()
authorDavid Sterba <dsterba@suse.com>
Wed, 22 May 2024 15:35:41 +0000 (17:35 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:27 +0000 (15:33 +0200)
commitb9878a89e93322931c3fd0b5e3e09645c899b619
tree265a2c779ecb2b640cb280a9ab834360bb24b910
parentf4f89477322295e0f0ea10aa3e617afe2a827fc5
btrfs: only print error message when checking item size in print_extent_item()

The extent item used to have a v0 that was removed in 6.6. There's a
check for minimum expected size that could lead to
btrfs_handle_fs_error() that would make the filesystem read-only. As we
don't have v0 anymore (and haven't seen any reports in the deprecation
period), handle this in a less intrusive way.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/print-tree.c