]> www.infradead.org Git - users/hch/block.git/commit
block: use the %pg format specifier in __blkdev_issue_discard
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 06:30:20 +0000 (08:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Jul 2021 06:34:14 +0000 (08:34 +0200)
commit45e5edf0e5f55e42c0462d0470f6176febb6fdc3
treecc44f8d24031911224b6a1ac0bfe3d3d82fda8a6
parent973e7224a20b0de7f62d447955332d8c4be83613
block: use the %pg format specifier in __blkdev_issue_discard

Simplify printing the partition name by using the %pg format specifier
that is equivalent to a bdevname call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-lib.c