diff options
author | Bernd Schubert <bschubert@ddn.com> | 2024-06-25 05:42:21 +0200 |
---|---|---|
committer | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-07-03 13:10:46 +0200 |
commit | 9581e214b8967bcdd3d0c45db3da14f2e1151220 (patch) | |
tree | 6f4830d9040a8d0113c7a4f3dcba0a0ff706fd77 /include/fuse_common.h | |
parent | 54b8cd6757ed383c0da10a5ba6a778dd45f28ad6 (diff) | |
download | libfuse-9581e214b8967bcdd3d0c45db3da14f2e1151220.tar.gz |
Annotate ABI sensitivness for some data structures
These are not all ABI sensitive data structures yet.
Also some space vs tab indentation issues are corrected.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index c583af3..04ecb95 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -40,6 +40,10 @@ extern "C" { * concurrently open for the same file. Generally, a client will create one * file handle per file descriptor, though in some cases multiple file * descriptors can share a single file handle. + * + * Note: This data structure is ABI sensitive, new parameters have to be + * added within padding/padding2 bits and always below existing + * parameters. */ struct fuse_file_info { /** Open flags. Available in open(), release() and create() */ @@ -63,8 +67,8 @@ struct fuse_file_info { unsigned int keep_cache : 1; /** Can be filled by open/create, to allow parallel direct writes on this - * file */ - unsigned int parallel_direct_writes : 1; + file */ + unsigned int parallel_direct_writes : 1; /** Indicates a flush operation. Set in flush operation, also maybe set in highlevel lock operation and lowlevel release |