]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb86dbedc1ae36027088f9db934fc768954f3bc3b
tree79e8a636dd1862f28dce2d5300bc876ff03e49f3
parent519d721f388eafec33fcbc2bbb1b231fdaf8c33e
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