diff options
author | Bernd Schubert <bernd@bsbernd.com> | 2024-12-28 11:22:14 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2024-12-30 23:04:11 +0100 |
commit | 9f7132314727447c92b8a6e23452386af26c37ea (patch) | |
tree | c1e971a21a76c29477ef3b2656e1cfcfd90e2a63 | |
parent | efa630fa491566938c08508f64f41b590cfedc07 (diff) | |
download | libfuse-9f7132314727447c92b8a6e23452386af26c37ea.tar.gz |
Restore compat ABI in 'struct fuse_config'
This fixes commit
dad15aee26835 "Add no_rofd_flush mount option"
and restores the ABI by moving the no_rofd_flush field.
Given that there were already several releases with this commit
we will still need an so version bump.
Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
-rw-r--r-- | include/fuse.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/fuse.h b/include/fuse.h index 49ba7d9..78d856b 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -253,14 +253,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 * file data on open. @@ -297,6 +289,14 @@ struct fuse_config { unsigned int dmask; /** + * 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; + + /** * Allow parallel direct-io writes to operate on the same file. * * FUSE implementations which do not handle parallel writes on |