]> www.infradead.org Git - users/hch/block.git/commit
vsprintf: use bd_partno in bdev_name bd_contains-cleanup
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Sep 2020 09:29:00 +0000 (11:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Sep 2020 09:29:16 +0000 (11:29 +0200)
commite53fee06e31f4ca4904527bdac7d2243eb0a3869
tree864cef551bc42b9673c887579fc0190b197319d1
parent3c0b021a4659f309ab76898cf2bfe3a1a6dd0043
vsprintf: use bd_partno in bdev_name

No need to go through the hd_struct to find the partition number.

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