]> 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)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 21 Jul 2022 14:06:19 +0000 (16:06 +0200)
commit02850a869e1c347be236917749b772ee920d2c89
tree75ae2b071a48eca0059f5f68fde91b56bb4b3718
parent47a275797f37e615f27d851c7478c61daeae9948
fuse: Remove the control interface for virtio-fs

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