If virtqueue_add_outbuf() returns negative error codes other than -ENOSPC and -ENOMEM, allow subsequent requests to proceed, aligning with the comments in send_forget_request().
Signed-off-by: Li Wang <[email protected]> --- fs/fuse/virtio_fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c index bf043e698e0d..7b283db76f3f 100644 --- a/fs/fuse/virtio_fs.c +++ b/fs/fuse/virtio_fs.c @@ -652,6 +652,7 @@ static int send_forget_request(struct virtio_fs_vq *fsvq, kfree(forget); if (in_flight) dec_in_flight_req(fsvq); + ret = 0; } goto out; } -- 2.34.1
