[Devel] [PATCH RHEL8 COMMIT] cbt: Allow BLKCBTMISC for userspace

Konstantin Khorenko khorenko at virtuozzo.com
Tue Dec 10 18:44:27 MSK 2019


The commit is pushed to "branch-rh8-4.18.0-80.1.2.vz8.2.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-80.1.2.vz8.2.6
------>
commit 695bad759bae4e1c29c41fc528cc063254f6592e
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Tue Dec 10 18:44:24 2019 +0300

    cbt: Allow BLKCBTMISC for userspace
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 block/ioctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/ioctl.c b/block/ioctl.c
index 55964e3df373..d7f27a1a38c3 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -606,6 +606,7 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
 	case BLKCBTGET:
 	case BLKCBTSET:
 	case BLKCBTCLR:
+	case BLKCBTMISC:
 		return blk_cbt_ioctl(bdev, cmd, (char __user *)arg);
 	default:
 		return __blkdev_driver_ioctl(bdev, mode, cmd, arg);



More information about the Devel mailing list