Relocated fuse flags (avoid alignment)

PERMISSION_HANDLING_BRANCH
jpandre 2010-01-04 08:02:59 +00:00
parent 17a629229d
commit 800ffca71a
1 changed files with 13 additions and 13 deletions

View File

@ -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