Relocated fuse flags (avoid alignment)
parent
17a629229d
commit
800ffca71a
|
@ -71,19 +71,6 @@ typedef int (*fuse_fill_dir_t) (void *buf, const char *name,
|
|||
#define HAS_UTIME_OMIT_OK 1
|
||||
|
||||
struct fuse_operations {
|
||||
unsigned int flag_nullpath_ok : 1;
|
||||
|
||||
/**
|
||||
* Flag indicating that the filesystem accepts special
|
||||
* UTIME_NOW and UTIME_OMIT values in its utimens operation.
|
||||
*/
|
||||
unsigned int flag_utime_omit_ok : 1;
|
||||
|
||||
/**
|
||||
* Reserved flags, don't set
|
||||
*/
|
||||
unsigned int flag_reserved : 30;
|
||||
|
||||
/** Get file attributes.
|
||||
*
|
||||
* Similar to stat(). The 'st_dev' and 'st_blksize' fields are
|
||||
|
@ -435,6 +422,19 @@ struct fuse_operations {
|
|||
* Introduced in version 2.6
|
||||
*/
|
||||
int (*bmap) (const char *, size_t blocksize, uint64_t *idx);
|
||||
unsigned int flag_nullpath_ok : 1;
|
||||
|
||||
/**
|
||||
* Flag indicating that the filesystem accepts special
|
||||
* UTIME_NOW and UTIME_OMIT values in its utimens operation.
|
||||
*/
|
||||
unsigned int flag_utime_omit_ok : 1;
|
||||
|
||||
/**
|
||||
* Reserved flags, don't set
|
||||
*/
|
||||
unsigned int flag_reserved : 30;
|
||||
|
||||
};
|
||||
|
||||
/** Extra context that may be needed by some filesystems
|
||||
|
|
Loading…
Reference in New Issue