1
0
Fork 0
forked from len0rd/rockbox

Make sure dircache resolves outstanding references on volume root.

If a volume root was open at the beginning of a build, its dircache
reference wouldn't be resolved on an already open volume root
directory because the call to do it was simply omitted. Nothing
horribly bad unless a root were opened at mount time and kept open
long term.

Change-Id: I09de30ff8174ad1d14eeeb9539bd23fb51b9e31a
This commit is contained in:
Michael Sevakis 2017-02-06 03:20:18 -05:00
parent 29c493dd74
commit 72dc239299

View file

@ -1422,6 +1422,7 @@ static void sab_process_volume(struct dircache_volume *dcvolp)
info.dcfile.idx = idx; info.dcfile.idx = idx;
info.dcfile.serialnum = dcvolp->serialnum; info.dcfile.serialnum = dcvolp->serialnum;
binding_resolve(&info);
sab_process_dir(&info, true); sab_process_dir(&info, true);
} }