aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-10 14:51:11 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-10 14:52:18 -0800
commit47426d453d8dcc2cdd2a7e812c9b5d25e9fc5028 (patch)
tree3f452c76b4ebc9efc00c30c1a4819523f70c8b5d /include
parentc95846bcc6a7ff30642694445d0bd8523f9056eb (diff)
Added documentation for FUSE_CAP_FLOCK_LOCKS
Fixes #106.
Diffstat (limited to 'include')
-rw-r--r--include/fuse_common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 2ba3888..d7adab0 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -134,8 +134,12 @@ struct fuse_file_info {
#define FUSE_CAP_SPLICE_READ (1 << 9)
/**
- * FIXME: This capability is not documented. Please get in touch if
- * you know what it does!
+ * If set, the calls to flock(2) will be emulated using POSIX locks and must
+ * then be handled by the filesystem's setlock() handler.
+ *
+ * If not set, flock(2) calls will be handled by the FUSE kernel module
+ * internally (so any access that does not go through the kernel cannot be taken
+ * into account).
*/
#define FUSE_CAP_FLOCK_LOCKS (1 << 10)