From 24f5b129c4e1b03ebbd05ac0c7673f306facea1a Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sat, 28 Dec 2024 15:10:03 +0100 Subject: 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 --- test/test_write_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_write_cache.c b/test/test_write_cache.c index cc827c7..d3c7af0 100644 --- a/test/test_write_cache.c +++ b/test/test_write_cache.c @@ -65,7 +65,7 @@ static void tfs_init (void *userdata, struct fuse_conn_info *conn) (void) userdata; if(options.writeback) { - assert(conn->capable & FUSE_CAP_WRITEBACK_CACHE); + assert(fuse_get_feature_flag(conn, FUSE_CAP_WRITEBACK_CACHE)); conn->want |= FUSE_CAP_WRITEBACK_CACHE; } } -- cgit v1.2.3