diff options
Diffstat (limited to 'block/ioctl.c')
-rw-r--r-- | block/ioctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/block/ioctl.c b/block/ioctl.c index 309760b7e37f..58aab630dfc1 100644 --- a/block/ioctl.c +++ b/block/ioctl.c | |||
@@ -199,8 +199,8 @@ static int blkdev_locked_ioctl(struct file *file, struct block_device *bdev, | |||
199 | return -ENOIOCTLCMD; | 199 | return -ENOIOCTLCMD; |
200 | } | 200 | } |
201 | 201 | ||
202 | static int blkdev_driver_ioctl(struct inode *inode, struct file *file, | 202 | int blkdev_driver_ioctl(struct inode *inode, struct file *file, |
203 | struct gendisk *disk, unsigned cmd, unsigned long arg) | 203 | struct gendisk *disk, unsigned cmd, unsigned long arg) |
204 | { | 204 | { |
205 | int ret; | 205 | int ret; |
206 | if (disk->fops->unlocked_ioctl) | 206 | if (disk->fops->unlocked_ioctl) |
@@ -215,6 +215,7 @@ static int blkdev_driver_ioctl(struct inode *inode, struct file *file, | |||
215 | 215 | ||
216 | return -ENOTTY; | 216 | return -ENOTTY; |
217 | } | 217 | } |
218 | EXPORT_SYMBOL_GPL(blkdev_driver_ioctl); | ||
218 | 219 | ||
219 | int blkdev_ioctl(struct inode *inode, struct file *file, unsigned cmd, | 220 | int blkdev_ioctl(struct inode *inode, struct file *file, unsigned cmd, |
220 | unsigned long arg) | 221 | unsigned long arg) |