]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - block/compat_ioctl.c
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE
[mirror_ubuntu-bionic-kernel.git] / block / compat_ioctl.c
index 413bd5c5380b5c1907896677f93945ab04e0bbda..6490b2759bcb4e23ae6b1aac777e6725d08532a8 100644 (file)
@@ -355,6 +355,8 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg)
         * but we call blkdev_ioctl, which gets the lock for us
         */
        case BLKRRPART:
+       case BLKREPORTZONE:
+       case BLKRESETZONE:
                return blkdev_ioctl(bdev, mode, cmd,
                                (unsigned long)compat_ptr(arg));
        case BLKBSZSET_32: