Example #1
0
static int
volicon_setcrtime(const char *path, const struct timespec *crtime)
{
    ERROR_IF_MAGIC_FILE(path, EPERM);

    return fuse_fs_setcrtime(volicon_get()->next, path, crtime);
}
Example #2
0
static int subdir_setcrtime(const char *path, const struct timespec *crtime)
{
	struct subdir *d = subdir_get();
	char *newpath;
	int err = subdir_addpath(d, path, &newpath);
	if (!err) {
		err = fuse_fs_setcrtime(d->next, newpath, crtime);
		free(newpath);
	}
	return err;
}
Example #3
0
static int iconv_setcrtime(const char *path, const struct timespec *crtime)
{
	struct iconv *ic = iconv_get();
	char *newpath;
	int err = iconv_convpath(ic, path, &newpath, 0);
	if (!err) {
		err = fuse_fs_setcrtime(ic->next, newpath, crtime);
		free(newpath);
	}
	return err;
}