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

Just use the %pg format specifier instead.

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-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-lib.c