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

btrfs: subpage: remove the unused error bitmap dumping

Since commit 2b2553f12355 ("btrfs: stop setting PageError in the data I/O
path") btrfs no longer utilizes subpage error bitmaps anymore, but the
commit forgot to remove the error bitmap in btrfs_subpage_dump_bitmap(),
resulting in possible meaningless result for the error bitmap.

Fix it by just removing the error bitmap dumping.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>

authored by

Qu Wenruo and committed by
David Sterba
90df2c10 87128f52

+1 -3
+1 -3
fs/btrfs/subpage.c
··· 909 909 struct btrfs_subpage_info *subpage_info = fs_info->subpage_info; 910 910 struct btrfs_subpage *subpage; 911 911 unsigned long uptodate_bitmap; 912 - unsigned long error_bitmap; 913 912 unsigned long dirty_bitmap; 914 913 unsigned long writeback_bitmap; 915 914 unsigned long ordered_bitmap; ··· 930 931 931 932 dump_page(folio_page(folio, 0), "btrfs subpage dump"); 932 933 btrfs_warn(fs_info, 933 - "start=%llu len=%u page=%llu, bitmaps uptodate=%*pbl error=%*pbl dirty=%*pbl writeback=%*pbl ordered=%*pbl checked=%*pbl", 934 + "start=%llu len=%u page=%llu, bitmaps uptodate=%*pbl dirty=%*pbl writeback=%*pbl ordered=%*pbl checked=%*pbl", 934 935 start, len, folio_pos(folio), 935 936 subpage_info->bitmap_nr_bits, &uptodate_bitmap, 936 - subpage_info->bitmap_nr_bits, &error_bitmap, 937 937 subpage_info->bitmap_nr_bits, &dirty_bitmap, 938 938 subpage_info->bitmap_nr_bits, &writeback_bitmap, 939 939 subpage_info->bitmap_nr_bits, &ordered_bitmap,