mufs: allow empty path in resolve_path()
This commit is contained in:
parent
84c45ee64d
commit
ffc8669736
1 changed files with 0 additions and 3 deletions
|
@ -101,9 +101,6 @@ struct mufs_tree *resolve_path(struct mufs *fs, const char *path)
|
|||
char *s, *p, *end;
|
||||
int ret;
|
||||
|
||||
if (!path || *path == '\0')
|
||||
return NULL;
|
||||
|
||||
if (!(s = mufs_abspath(path)))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue