author: Miklos Szeredi <mszeredi@redhat.com> 2021-04-14 10:40:58 +0200
committer: Miklos Szeredi <mszeredi@redhat.com> 2021-04-14 10:40:58 +0200
commit: 8217673d07256b22881127bf50dce874d0e51653
parent: 0a7419c68a45d2d066b996be5087aa2d07ce80eb
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c
index 45082269e698..a37528b51798 100644
--- a/fs/fuse/cuse.c
+++ b/fs/fuse/cuse.c
@@ -627,6 +627,8 @@ static int __init cuse_init(void)
cuse_channel_fops.owner = THIS_MODULE;
cuse_channel_fops.open = cuse_channel_open;
cuse_channel_fops.release = cuse_channel_release;
+ /* CUSE is not prepared for FUSE_DEV_IOC_CLONE */
+ cuse_channel_fops.unlocked_ioctl = NULL;
cuse_class = class_create(THIS_MODULE, "cuse");
if (IS_ERR(cuse_class))