diff options
Diffstat (limited to 'block/compat_ioctl.c')
-rw-r--r-- | block/compat_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index c23177e4623f..1e559fba7bdf 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c | |||
@@ -788,6 +788,7 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg) | |||
788 | return compat_hdio_getgeo(disk, bdev, compat_ptr(arg)); | 788 | return compat_hdio_getgeo(disk, bdev, compat_ptr(arg)); |
789 | case BLKFLSBUF: | 789 | case BLKFLSBUF: |
790 | case BLKROSET: | 790 | case BLKROSET: |
791 | case BLKDISCARD: | ||
791 | /* | 792 | /* |
792 | * the ones below are implemented in blkdev_locked_ioctl, | 793 | * the ones below are implemented in blkdev_locked_ioctl, |
793 | * but we call blkdev_ioctl, which gets the lock for us | 794 | * but we call blkdev_ioctl, which gets the lock for us |