]> www.infradead.org Git - users/hch/block.git/commit
block: use the %pg format specifier in bdev_write_inode remove-disk_name
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 06:29:23 +0000 (08:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Jul 2021 06:34:14 +0000 (08:34 +0200)
commita24012dfc2a3a4b70d26a799fc0e00b6b9123441
tree20fb01150894c0f0e52706e851389e7b0c48d50d
parent45e5edf0e5f55e42c0462d0470f6176febb6fdc3
block: use the %pg format specifier in bdev_write_inode

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>
fs/block_dev.c