static int cfs_mkdir(const char *path, mode_t mode) { if (cloudfs_create_directory(path)) { update_dir_cache(path, 0, 1, 0); return 0; } return -ENOENT; }
static int cfs_mkdir(const char* path, mode_t mode) { debugf(DBG_LEVEL_NORM, KBLU "cfs_mkdir(%s)", path); int response = cloudfs_create_directory(path); if (response) { update_dir_cache(path, 0, 1, 0); debug_list_cache_content(); debugf(DBG_LEVEL_NORM, KBLU "exit 0: cfs_mkdir(%s)", path); return 0; } debugf(DBG_LEVEL_NORM, KRED "exit 1: cfs_mkdir(%s) response=%d", path, response); return -ENOENT; }