static int subdir_getxtimes(const char *path, struct timespec *bkuptime, struct timespec *crtime) { struct subdir *d = subdir_get(); char *newpath; int err = subdir_addpath(d, path, &newpath); if (!err) { err = fuse_fs_getxtimes(d->next, newpath, bkuptime, crtime); free(newpath); } return err; }
static int iconv_getxtimes(const char *path, struct timespec *bkuptime, struct timespec *crtime) { struct iconv *ic = iconv_get(); char *newpath; int err = iconv_convpath(ic, path, &newpath, 0); if (!err) { err = fuse_fs_getxtimes(ic->next, newpath, bkuptime, crtime); free(newpath); } return err; }
static int volicon_getxtimes(const char *path, struct timespec *bkuptime, struct timespec *crtime) { if (volicon_is_a_magic_file(path)) { bkuptime->tv_sec = 0; bkuptime->tv_nsec = 0; crtime->tv_sec = 0; crtime->tv_nsec = 0; return 0; } return fuse_fs_getxtimes(volicon_get()->next, path, bkuptime, crtime); }