Commit 8ecbbde2 authored by Xie Yongji's avatar Xie Yongji Committed by Zheng Zengkai
Browse files

fuse: Remove the control interface for virtio-fs

stable inclusion
from stable-v5.10.137
commit 92644d505b4e45cec28a04b0981d98f3ef28a0de
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=92644d505b4e45cec28a04b0981d98f3ef28a0de



--------------------------------

[ Upstream commit c6479780 ]

The commit 15c8e72e ("fuse: allow skipping control interface and forced
unmount") tries to remove the control interface for virtio-fs since it does
not support aborting requests which are being processed. But it doesn't
work now.

This patch fixes it by skipping creating the control interface if
fuse_conn->no_control is set.

Fixes: 15c8e72e ("fuse: allow skipping control interface and forced unmount")
Signed-off-by: default avatarXie Yongji <xieyongji@bytedance.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent e5b7df9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment