]> git.baikalelectronics.ru Git - kernel.git/commit
block: stop using bdevname in bdev_write_inode
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2022 05:53:09 +0000 (07:53 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 16:27:56 +0000 (10:27 -0600)
commit226a1b8b5f94b4b37d4f71012941a68ed4209f7a
tree1a38899337e1a2eea86dcd5f137d3e8a300d8629
parente40cb4715158e36d8efa39bc3fe7e5684f559e03
block: stop using bdevname in bdev_write_inode

Just use the %pg format specifier instead.  Also reformat the
printk statement to be more readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220713055317.1888500-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bdev.c