block: move disk_name and related helpers out of partition-generic.c
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Mar 2020 07:25:12 +0000 (08:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Mar 2020 13:57:07 +0000 (07:57 -0600)
commit5cbd28e3cef14b43b2a8271d36b75fc61c13bb8a
tree3c2243343e2631c9129f3f663c450de6f92b00ca
parentea3edd4dc23027083fbb4a73b65114d08fe73a76
block: move disk_name and related helpers out of partition-generic.c

Thes functions aren't really related to partition support, so move them
to a more suitable place.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/genhd.c
block/partition-generic.c