Revert the ABI changes since version 3.14.

This will make the library incompatible with versions since
3.14 inclusive but should put it ABI compatibe with older
versions.

Signed-off-by: Ashley Pittman <ashley.m.pittman@intel.com>
This commit is contained in:
Ashley Pittman 2024-04-05 18:54:52 +00:00
parent e2df577a7c
commit fa394f9862
2 changed files with 12 additions and 12 deletions

View File

@ -249,14 +249,6 @@ struct fuse_config {
*/
int auto_cache;
/**
* By default, fuse waits for all pending writes to complete
* and calls the FLUSH operation on close(2) of every fuse fd.
* With this option, wait and FLUSH are not done for read-only
* fuse fd, similar to the behavior of NFS/SMB clients.
*/
int no_rofd_flush;
/**
* The timeout in seconds for which file attributes are cached
* for the purpose of checking if auto_cache should flush the
@ -291,6 +283,14 @@ struct fuse_config {
*/
int parallel_direct_writes;
/**
* By default, fuse waits for all pending writes to complete
* and calls the FLUSH operation on close(2) of every fuse fd.
* With this option, wait and FLUSH are not done for read-only
* fuse fd, similar to the behavior of NFS/SMB clients.
*/
int no_rofd_flush;
/**
* The remaining options are used by libfuse internally and
* should not be touched.

View File

@ -68,10 +68,6 @@ struct fuse_file_info {
the file/directory is closed. */
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;
/** Indicates a flush operation. Set in flush operation, also
maybe set in highlevel lock operation and lowlevel release
operation. */
@ -96,6 +92,10 @@ struct fuse_file_info {
on close. */
unsigned int noflush : 1;
/** Can be filled by open/create, to allow parallel direct writes on this
* file */
unsigned int parallel_direct_writes : 1;
/** Padding. Reserved for future use*/
unsigned int padding : 23;
unsigned int padding2 : 32;