Commit fea349b0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: unexport blkdev_ioctl

With the raw driver gone, there is no modular user left.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211012104450.659013-2-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4a60f360
...@@ -588,7 +588,6 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, ...@@ -588,7 +588,6 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
return -ENOTTY; return -ENOTTY;
return bdev->bd_disk->fops->ioctl(bdev, mode, cmd, arg); return bdev->bd_disk->fops->ioctl(bdev, mode, cmd, arg);
} }
EXPORT_SYMBOL_GPL(blkdev_ioctl); /* for /dev/raw */
#ifdef CONFIG_COMPAT #ifdef CONFIG_COMPAT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment