aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_uring.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuse_uring.c')
-rw-r--r--lib/fuse_uring.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/fuse_uring.c b/lib/fuse_uring.c
index a54973e..8dea7d0 100644
--- a/lib/fuse_uring.c
+++ b/lib/fuse_uring.c
@@ -553,8 +553,8 @@ static int fuse_uring_queue_handle_cqes(struct fuse_ring_queue *queue)
//fuse_log(FUSE_LOG_ERR, "cqe res: %d\n", cqe->res);
/* -ENOTCONN is ok on umount */
- if (err != -EINTR && err != -EOPNOTSUPP &&
- err != -EAGAIN && err != -ENOTCONN) {
+ if (err != -EINTR && err != -EAGAIN &&
+ err != -ENOTCONN) {
se->error = cqe->res;
/* return first error */
@@ -701,22 +701,14 @@ static void *fuse_uring_thread(void *arg)
io_uring_submit_and_wait(&queue->ring, 1);
err = fuse_uring_queue_handle_cqes(queue);
- if (err < 0) {
- /*
- * fuse-over-io-uring is not supported, operation can
- * continue over /dev/fuse
- */
- if (err == -EOPNOTSUPP)
- goto ret;
+ if (err < 0)
goto err;
- }
}
return NULL;
err:
fuse_session_exit(se);
-ret:
return NULL;
}