]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - block/compat_ioctl.c
x86, cpu: Fix regression in AMD errata checking code
[net-next-2.6.git] / block / compat_ioctl.c
index d530856377318a6bcc00bf732e1ffcb2a7e52498..119f07b74dc0c41d99c282c1299a80f5f0dfc8c0 100644 (file)
@@ -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