Skip to content

Commit

Permalink
block: unexport blkdev_ioctl
Browse files Browse the repository at this point in the history
With the raw driver gone, there is no modular user left.

Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Christoph Hellwig authored and axboe committed Oct 18, 2021
1 parent 4a60f36 commit fea349b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion block/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fea349b

Please sign in to comment.