X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fcompat_ioctl.c;h=1e559fba7bdfc58859605b0d9fdc879346f86b07;hb=d91ab4e7df0c0c9f98c830e04e875f39d41b21f6;hp=c23177e4623f1ba73804479460742dd63339556a;hpb=8033c6e9736c29cce5f0d0abbca9a44dffb20c39;p=linux-2.6-omap-h63xx.git diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index c23177e4623..1e559fba7bd 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) return compat_hdio_getgeo(disk, bdev, compat_ptr(arg)); case BLKFLSBUF: case BLKROSET: + case BLKDISCARD: /* * the ones below are implemented in blkdev_locked_ioctl, * but we call blkdev_ioctl, which gets the lock for us