Message ID | 20241119160932.1327864-6-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/6] block: return unsigned int from bdev_io_opt | expand |
On 19/11/2024 16:09, Christoph Hellwig wrote: > bdev_read_only is already defined as an inline function in blkdev.h. > > Signed-off-by: Christoph Hellwig<hch@lst.de> Reviewed-by: John Garry <john.g.garry@oracle.com>
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index e4fc967e8cb9..957767c0cafd 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1582,7 +1582,6 @@ static inline void bio_end_io_acct(struct bio *bio, unsigned long start_time) return bio_end_io_acct_remapped(bio, start_time, bio->bi_bdev); } -int bdev_read_only(struct block_device *bdev); int set_blocksize(struct file *file, int size); int lookup_bdev(const char *pathname, dev_t *dev);
bdev_read_only is already defined as an inline function in blkdev.h. Signed-off-by: Christoph Hellwig <hch@lst.de> --- include/linux/blkdev.h | 1 - 1 file changed, 1 deletion(-)