The (!fiq->connected) check was moved into the queuing method resulting in
the following:
Fixes: 5de8acb41c86 ("fuse: cleanup request queuing towards virtiofs")
Reported-by: Lai, Yi <yi1.lai@linux.intel.com>
Closes: https://lore.kernel.org/all/ZvFEAM6JfrBKsOU0@ly-workstation/
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
} else {
spin_unlock(&fiq->lock);
req->out.h.error = -ENOTCONN;
+ clear_bit(FR_PENDING, &req->flags);
fuse_request_end(req);
}
}