More safety checks to dircache to block updates until cache is ready.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9339 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-03-29 09:38:45 +00:00
parent 029ff80235
commit 6ce466ea2c
2 changed files with 51 additions and 6 deletions

View file

@ -46,6 +46,12 @@ struct dircache_maindata {
struct dircache_entry *root_entry;
};
#define MAX_PENDING_BINDINGS 2
struct fdbind_queue {
char path[MAX_PATH];
int fd;
};
/* Exported structures. */
struct dircache_entry {
struct dircache_entry *next;