forked from len0rd/rockbox
Restore dircache hookup in the database ramcache.
Do a few other changes to dircache and file code flags to accomodate its demands. Change-Id: I4742a54e8cfbe4d8b9cffb75faaf920dd907cf8a
This commit is contained in:
parent
abd75a17d1
commit
7373cf518f
8 changed files with 626 additions and 497 deletions
|
|
@ -311,7 +311,8 @@ int mkdir(const char *path)
|
|||
|
||||
struct filestr_base stream;
|
||||
struct path_component_info compinfo;
|
||||
rc = open_stream_internal(path, FF_DIR, &stream, &compinfo);
|
||||
rc = open_stream_internal(path, FF_DIR | FF_PARENTINFO, &stream,
|
||||
&compinfo);
|
||||
if (rc < 0)
|
||||
{
|
||||
DEBUGF("Can't open parent dir or path is not a directory\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue