static int volicon_setbkuptime(const char *path, const struct timespec *bkuptime) { ERROR_IF_MAGIC_FILE(path, EPERM); return fuse_fs_setbkuptime(volicon_get()->next, path, bkuptime); }
static int subdir_setbkuptime(const char *path, const struct timespec *bkuptime) { struct subdir *d = subdir_get(); char *newpath; int err = subdir_addpath(d, path, &newpath); if (!err) { err = fuse_fs_setbkuptime(d->next, newpath, bkuptime); free(newpath); } return err; }
static int iconv_setbkuptime(const char *path, const struct timespec *bkuptime) { struct iconv *ic = iconv_get(); char *newpath; int err = iconv_convpath(ic, path, &newpath, 0); if (!err) { err = fuse_fs_setbkuptime(ic->next, newpath, bkuptime); free(newpath); } return err; }