- fuse_lowlevel_is_lib_option()
- fuse_operations.getdir()
- fuse_operations.utime()
+ - fuse_operations.utime_omit_ok
2013-02-06 Miklos Szeredi <miklos@szeredi.hu>
*/
unsigned int flag_nopath: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;
+ unsigned int flag_reserved:31;
/** Get file attributes.
*
struct fuse_config conf;
int intr_installed;
struct fuse_fs *fs;
- int utime_omit_ok;
struct lock_queue_element *lockq;
int pagesize;
struct list_head partial_slabs;
attr->st_size);
}
#ifdef HAVE_UTIMENSAT
- if (!err && f->utime_omit_ok &&
+ if (!err &&
(valid & (FUSE_SET_ATTR_ATIME | FUSE_SET_ATTR_MTIME))) {
struct timespec tv[2];
newfs->m = m;
f->fs = newfs;
f->conf.nopath = newfs->op.flag_nopath && f->conf.nopath;
- f->utime_omit_ok = newfs->op.flag_utime_omit_ok && f->utime_omit_ok;
return 0;
}
f->fs = fs;
f->conf.nopath = fs->op.flag_nopath;
- f->utime_omit_ok = fs->op.flag_utime_omit_ok;
/* Oh f**k, this is ugly! */
if (!fs->op.lock) {
if (f->conf.debug) {
fprintf(stderr, "nopath: %i\n", f->conf.nopath);
- fprintf(stderr, "utime_omit_ok: %i\n", f->utime_omit_ok);
}
/* Trace topmost layer by default */