diff options
| author | 2026-02-17 06:58:47 +0000 | |
|---|---|---|
| committer | 2026-02-17 06:58:47 +0000 | |
| commit | 903a29c7424028304aeef137d7c24e176b73fccf (patch) | |
| tree | 814c086d3c06e30fa3c3584c5108b8b295903f71 | |
| parent | 8f8e12ee196543916650d5618297a6bf53783747 (diff) | |
| download | ifuse-903a29c7424028304aeef137d7c24e176b73fccf.tar.gz ifuse-903a29c7424028304aeef137d7c24e176b73fccf.tar.bz2 | |
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
| -rw-r--r-- | src/ifuse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
