aboutsummaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2022-07-13 07:53:17 +0200
committerGravatar Jens Axboe <axboe@kernel.dk> 2022-07-14 10:27:56 -0600
commit900d156bac2bc474cf7c7bee4efbc6c83ec5ae58 (patch)
tree364ba819cd2949bbeded85f19c62fc969f1464ed /include/linux/blkdev.h
parentext4: only initialize mmp_bdevname once (diff)
downloadlinux-900d156bac2bc474cf7c7bee4efbc6c83ec5ae58.tar.gz
linux-900d156bac2bc474cf7c7bee4efbc6c83ec5ae58.tar.bz2
linux-900d156bac2bc474cf7c7bee4efbc6c83ec5ae58.zip
block: remove bdevname
Replace the remaining calls of bdevname with snprintf using the %pg format specifier. 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-10-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 22c477fadc0f..2775763c51b9 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1457,7 +1457,6 @@ static inline void bio_end_io_acct(struct bio *bio, unsigned long start_time)
int bdev_read_only(struct block_device *bdev);
int set_blocksize(struct block_device *bdev, int size);
-const char *bdevname(struct block_device *bdev, char *buffer);
int lookup_bdev(const char *pathname, dev_t *dev);
void blkdev_show(struct seq_file *seqf, off_t offset);