mufs: add subtree argument to mkpath() to create a path for an existing tree object
This commit is contained in:
parent
8921af25b3
commit
a45be58d26
4 changed files with 14 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue