Fix a union file system bug

This commit is contained in:
Gregory Nutt
2015-06-24 09:07:13 -06:00
parent 712a14ab25
commit 8ed9c24675
3 changed files with 332 additions and 81 deletions
+2
View File
@@ -157,6 +157,8 @@ struct fs_dirent_s; /* Forward reference */
struct fs_unionfsdir_s
{
uint8_t fu_ndx; /* Index of file system being enumerated */
bool fu_eod; /* True: At end of directory */
bool fu_prefix[2]; /* True: Fake directory in prefix */
FAR char *fu_relpath; /* Path being enumerated */
FAR struct fs_dirent_s *fu_lower[2]; /* dirent struct used by contained file system */
};