mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
029ff80235
commit
6ce466ea2c
2 changed files with 51 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue