@ -194,7 +194,7 @@ int mufs_rename(struct mufs *fs, const char *old, const char *new)
free(path);
if (ret < 0)
return -1;
goto err_del_subtree;
type = stat.type;
@ -204,6 +204,7 @@ int mufs_rename(struct mufs *fs, const char *old, const char *new)
if (mufs_rmpath(fs, old) < 0)
mufs_del_tree(subtree);
return 0;
err_del_subtree: