OSDN Git Service

btrfs: check-integrity: stop storing the block device name in btrfsic_dev_state
authorChristoph Hellwig <hch@lst.de>
Thu, 14 Oct 2021 09:05:50 +0000 (11:05 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:07 +0000 (19:08 +0200)
commit813ebc164e8733ed2b98dd25850a06d0dc8026f8
tree79e8a636dd1862f28dce2d5300bc876ff03e49f3
parent1a15eb724aaef8656f8cc01d9355797cfe7c618e
btrfs: check-integrity: stop storing the block device name in btrfsic_dev_state

Just use the %pg format specifier in all the debug printks previously
using it.  Note that both bdevname and the %pg specifier never print
a pathname, so the kbasename call wasn't needed to start with.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
[ adjust messages and indentation ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c