From fea349b037869beda6db5ed0c150f8a2a9a317f6 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 12 Oct 2021 12:44:48 +0200 Subject: [PATCH] block: unexport blkdev_ioctl With the raw driver gone, there is no modular user left. Signed-off-by: Christoph Hellwig Link: https://lore.kernel.org/r/20211012104450.659013-2-hch@lst.de Signed-off-by: Jens Axboe --- block/ioctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/ioctl.c b/block/ioctl.c index eb0491e90b9a..0f823444cc55 100644 --- a/block/ioctl.c +++ b/block/ioctl.c @@ -588,7 +588,6 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, return -ENOTTY; return bdev->bd_disk->fops->ioctl(bdev, mode, cmd, arg); } -EXPORT_SYMBOL_GPL(blkdev_ioctl); /* for /dev/raw */ #ifdef CONFIG_COMPAT