]> git.baikalelectronics.ru Git - kernel.git/commit
virtiofs: No need to check fpq->connected state
authorVivek Goyal <vgoyal@redhat.com>
Tue, 15 Oct 2019 17:46:23 +0000 (13:46 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 21 Oct 2019 13:57:07 +0000 (15:57 +0200)
commit13f4c613681389397fc85276c1e791fb08eaed4f
treebf400ed515d2997f85285994c0fb73cd322908c0
parent8ef9343a3f7a5a97e2970cfc309a0c11fa15a48a
virtiofs: No need to check fpq->connected state

In virtiofs we keep per queue connected state in virtio_fs_vq->connected
and use that to end request if queue is not connected. And virtiofs does
not even touch fpq->connected state.

We probably need to merge these two at some point of time. For now,
simplify the code a bit and do not worry about checking state of
fpq->connected.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/virtio_fs.c