]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: subpage: fix the bitmap dump of the locked flags
authorQu Wenruo <wqu@suse.com>
Thu, 12 Dec 2024 06:14:00 +0000 (16:44 +1030)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 14:53:47 +0000 (15:53 +0100)
commit396294d1afee65a203d6cabd843d0782e5d7388e
tree8d55f612eb9099dca6fc9fc7d510828b2646901b
parentc2b47df81c8e20a8e8cd94f0d7df211137ae94ed
btrfs: subpage: fix the bitmap dump of the locked flags

We're dumping the locked bitmap into the @checked_bitmap variable,
printing incorrect values during debug.

Thankfully even during my development I haven't hit a case where I need
to dump the locked bitmap.  But for the sake of consistency, fix it by
dupping the locked bitmap into @locked_bitmap variable for output.

Fixes: 75258f20fb70 ("btrfs: subpage: dump extra subpage bitmaps for debug")
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/subpage.c