[Devel] [PATCH RHEL9 COMMIT] cbt: Fix BLKCBTMISC case
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Dec 27 15:15:09 MSK 2021
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.37
------>
commit 8263894fb434a5dd3b5a8e4e2609d54858767898
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date: Mon Dec 27 15:15:09 2021 +0300
cbt: Fix BLKCBTMISC case
Add BLKCBTMISC case allowing to call blk_cbt_ioctl()
https://jira.sw.ru/browse/PSBM-137054
Fixes: commit 0b21e2b1509e ("cbt: introduce changed block tracking")
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 ea03286cc77a..a6c0b481df00 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -529,6 +529,7 @@ static int blkdev_common_ioctl(struct block_device *bdev, fmode_t mode,
case BLKCBTGET:
case BLKCBTSET:
case BLKCBTCLR:
+ case BLKCBTMISC:
return blk_cbt_ioctl(bdev, cmd, (char __user *)arg);
default:
return -ENOIOCTLCMD;
More information about the Devel
mailing list