mufs: implement mufs_stat()
This commit is contained in:
parent
26b0ccb405
commit
beb5f64c12
2 changed files with 10 additions and 0 deletions
|
@ -66,3 +66,11 @@ int mufs_mkpath(struct mufs *fs, const char *path, unsigned type)
|
|||
|
||||
return -1;
|
||||
}
|
||||
|
||||
int mufs_stat(struct mufs *fs, const char *path, struct mufs_stat *stat)
|
||||
{
|
||||
if (!resolve_path(fs, path, stat))
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue