mufs: add subtree argument to mkpath() to create a path for an existing tree object

This commit is contained in:
S.J.R. van Schaik 2017-06-14 12:18:07 +02:00
parent 8921af25b3
commit a45be58d26
4 changed files with 14 additions and 7 deletions

View file

@ -316,7 +316,7 @@ int mufs_readdir(struct mufs_dir *dir, struct mufs_dirent *dirent)
int mufs_mkdir(struct mufs *fs, const char *path)
{
return mufs_mkpath(fs, path, MUFS_DIR);
return mufs_mkpath(fs, path, NULL, MUFS_DIR);
}
int mufs_rmdir(struct mufs *fs, const char *path)