summaryrefslogtreecommitdiff
path: root/firmware/include/dir_uncached.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-03-10 08:56:27 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-03-10 08:56:27 +0000
commit56069476be65da87604d7b006aee7008445b965f (patch)
tree94804f1423d229b3370fb4c72d6585c601e875e2 /firmware/include/dir_uncached.h
parent0be28e819face17564a75a11745c29d33317fcb0 (diff)
downloadrockbox-56069476be65da87604d7b006aee7008445b965f.tar.gz
rockbox-56069476be65da87604d7b006aee7008445b965f.zip
Get rid of the parent_dir field in dir_uncached.c by using the same FAT trick as in dircache. This should save ~20KB on 512B/sector targets and ~80KB on 2K/sector ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25105 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/dir_uncached.h')
-rw-r--r--firmware/include/dir_uncached.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h
index e198833c84..4e5acf34d1 100644
--- a/firmware/include/dir_uncached.h
+++ b/firmware/include/dir_uncached.h
@@ -61,7 +61,6 @@ typedef struct {
61 bool busy; 61 bool busy;
62 long startcluster; 62 long startcluster;
63 struct fat_dir fatdir; 63 struct fat_dir fatdir;
64 struct fat_dir parent_dir;
65 struct dirent_uncached theent; 64 struct dirent_uncached theent;
66#ifdef HAVE_MULTIVOLUME 65#ifdef HAVE_MULTIVOLUME
67 int volumecounter; /* running counter for faked volume entries */ 66 int volumecounter; /* running counter for faked volume entries */