From 9581e214b8967bcdd3d0c45db3da14f2e1151220 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Tue, 25 Jun 2024 05:42:21 +0200 Subject: 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. --- 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 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 -- cgit v1.2.3