diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-07-18 15:45:58 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-07-18 15:45:58 +0200 |
commit | 19accdfbda12d04fe2175ad1d7baf90e841af373 (patch) | |
tree | 5313b9b247aebf8fac066baa9251153f8c174f3e /include/fuse_common.h | |
parent | 7dfb43254cc64044e75a5da4bbf02a86d110aee3 (diff) |
libfuse: clean up struct fuse_file_info
Remove 'fh_old' which was an ABI compatibility field for a long time.
Make 'writepage' a bitfield.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 35706cb..765e0a3 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -34,18 +34,15 @@ extern "C" { /** * Information about open files * - * Changed in version 2.5 + * Changed in version 3.0 */ struct fuse_file_info { /** Open flags. Available in open() and release() */ int flags; - /** Old file handle, don't use */ - unsigned long fh_old; - /** In case of a write operation indicates if this was caused by a writepage */ - int writepage; + unsigned int writepage : 1; /** Can be filled in by open, to use direct I/O on this file. Introduced in version 2.4 */ |