aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse.c
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2024-12-28 15:10:03 +0100
committerBernd Schubert <bernd@bsbernd.com>2024-12-30 23:04:11 +0100
commit24f5b129c4e1b03ebbd05ac0c7673f306facea1a (patch)
treee16f5b02a829457efab3f98ebbe54271e581a7f6 /lib/fuse.c
parent3d90402f9084edb90ddb00d6ccd8c2183e6df140 (diff)
downloadlibfuse-24f5b129c4e1b03ebbd05ac0c7673f306facea1a.tar.gz
Add 64-bit conn::{capable,want}_ext fields
The previous fields are left for ABI compatibility, although it is not beautiful to add that complexity when we have to increase the so-version as we had ABI breakage anyway. example/printcap is simplified to use an array, as every line would have needed to be modified anyway. Missing 'FUSE_CAP_PASSTHROUGH' was added. Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'lib/fuse.c')
-rw-r--r--lib/fuse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index b327bab..a1537af 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -2619,8 +2619,7 @@ static void fuse_lib_init(void *data, struct fuse_conn_info *conn)
struct fuse *f = (struct fuse *) data;
fuse_create_context(f);
- if(conn->capable & FUSE_CAP_EXPORT_SUPPORT)
- conn->want |= FUSE_CAP_EXPORT_SUPPORT;
+ fuse_set_feature_flag(conn, FUSE_CAP_EXPORT_SUPPORT);
fuse_fs_init(f->fs, conn, &f->conf);
if (f->conf.intr) {