]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: Remove the control interface for virtio-fs
authorXie Yongji <xieyongji@bytedance.com>
Mon, 18 Jul 2022 08:50:12 +0000 (16:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:11 +0000 (14:24 +0200)
commitb298aec0541106e72486e3e67cc00401db7cfefd
tree8d91d1dda8ad3fbcaedee7337a6ac497daaed070
parent8c23aaa3aad3a0b3b3e98c03a1fd8b4aaffa0364
fuse: Remove the control interface for virtio-fs

[ Upstream commit acfc2b9655634211296eed79e71f76407a25d83f ]

The commit d150e2068028 ("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: d150e2068028 ("fuse: allow skipping control interface and forced unmount")
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/fuse/control.c