From 903a29c7424028304aeef137d7c24e176b73fccf Mon Sep 17 00:00:00 2001 From: Evgeny Kapun Date: Tue, 17 Feb 2026 06:58:47 +0000 Subject: [PATCH] Fix FUSE capability flags set during initialization. The intent behind the line "conn->want &= FUSE_CAP_ASYNC_READ;" was likely to clear the FUSE_CAP_ASYNC_READ flag, but it actually clears all the other flags instead. This commit changes it to clear only that flag. Fixes #107 --- src/ifuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifuse.c b/src/ifuse.c index f5f7640..78135cd 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -395,7 +395,7 @@ void *ifuse_init(struct fuse_conn_info *conn, struct fuse_config *cfg) { afc_client_t afc = NULL; - conn->want &= FUSE_CAP_ASYNC_READ; + conn->want &= ~FUSE_CAP_ASYNC_READ; if (house_arrest) { afc_client_new_from_house_arrest_client(house_arrest, &afc);