summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-02-06 03:20:18 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-02-06 03:21:25 -0500
commit72dc23929919241a9295e5eae754b47ac358a922 (patch)
treed86a39ea03629d3fa92c5d8517c78620f6dd51a2
parent29c493dd74b52b2bbd9b22f6e24ce75a338bf534 (diff)
downloadrockbox-72dc239.tar.gz
rockbox-72dc239.tar.bz2
rockbox-72dc239.zip
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
-rw-r--r--firmware/common/dircache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index a3538ff96f..0761f837e1 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -1422,6 +1422,7 @@ static void sab_process_volume(struct dircache_volume *dcvolp)
info.dcfile.idx = idx;
info.dcfile.serialnum = dcvolp->serialnum;
+ binding_resolve(&info);
sab_process_dir(&info, true);
}