)\r
{\r
FileEntry = BOOTMON_FS_FILE_FROM_LINK_THIS (FileLink);\r
+ // Skip files that aren't on disk yet\r
+ if (FileEntry->HwDescription.RegionCount == 0) {\r
+ continue;\r
+ }\r
+\r
// If the free space preceding the file is big enough to contain the new\r
// file then use it!\r
if (((FileEntry->HwDescription.BlockStart * BlockSize) - *FileStart)\r