aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_write_cache.c
diff options
context:
space:
mode:
authorBernd Schubert <bernd.schubert@fastmail.fm>2024-12-30 23:34:43 +0100
committerGitHub <noreply@github.com>2024-12-30 23:34:43 +0100
commit3d743029dc9bfeddcc4b2e8f7bffd98cd89c1026 (patch)
tree0bc5f6adb495da2ef7c8483454d193cca62a99c8 /test/test_write_cache.c
parent682e87dbc0a18a703fd4a746b5ef7ee22fb559cf (diff)
parent3f9d369d083cfeb0a01b9781772efcf9920bdfcb (diff)
downloadlibfuse-3d743029dc9bfeddcc4b2e8f7bffd98cd89c1026.tar.gz
Merge pull request #1081 from bsbernd/so-version-abi-compat
Increase the .so version, but also change back to previous ABI
Diffstat (limited to 'test/test_write_cache.c')
-rw-r--r--test/test_write_cache.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}