aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorBernd Schubert <bernd.schubert@fastmail.fm>2024-06-04 14:44:51 +0200
committerGitHub <noreply@github.com>2024-06-04 14:44:51 +0200
commitdd5349a2cf77cd2e0fdbfa8c7fa828986e48f84f (patch)
treeb005cf1eabb119aa11e20d73e378f80606aa23af /lib/fuse_i.h
parentcef8c8b249023fb8129ae791e0998cbca771f96a (diff)
parent153d65ff6bb7ac3b6f981af027559b00bbfc69f8 (diff)
downloadlibfuse-dd5349a2cf77cd2e0fdbfa8c7fa828986e48f84f.tar.gz
Merge pull request #957 from bsbernd/fuse-req-atomic-ref-cnt
Atomic struct fuse_req::ref_cnt
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index 7a2ae04..1519ce0 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -14,7 +14,7 @@ struct mount_opts;
struct fuse_req {
struct fuse_session *se;
uint64_t unique;
- int ctr;
+ _Atomic int ref_cnt;
pthread_mutex_t lock;
struct fuse_ctx ctx;
struct fuse_chan *ch;