X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=block%2Fcompat_ioctl.c;h=119f07b74dc0c41d99c282c1299a80f5f0dfc8c0;hb=4b6a2872a2a00042ee50024822ab706e5456aad8;hp=d530856377318a6bcc00bf732e1ffcb2a7e52498;hpb=636d17427b1ef0e97bd9df9b3b0e0f314ff889d3;p=karo-tx-linux.git diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index d53085637731..119f07b74dc0 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -703,6 +703,7 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg) case BLKFLSBUF: case BLKROSET: case BLKDISCARD: + case BLKSECDISCARD: /* * the ones below are implemented in blkdev_locked_ioctl, * but we call blkdev_ioctl, which gets the lock for us