From 47426d453d8dcc2cdd2a7e812c9b5d25e9fc5028 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 10 Nov 2016 14:51:11 -0800 Subject: Added documentation for FUSE_CAP_FLOCK_LOCKS Fixes #106. --- include/fuse_common.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/fuse_common.h') 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) -- cgit v1.2.3