NumBytes = Dev->Size;\r
Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev));\r
ASSERT_EFI_ERROR (Status);\r
- FileClose (File);\r
+ // KEN: bugbug here if closing file, volume handle will be free,\r
+ // and system will be hang when accessing volume handle in future.\r
+ //FileClose (File);\r
DEBUG ((EFI_D_ERROR, "FileStorage: Mapped to file!\n"));\r
}\r
\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
- \r
+\r
//\r
// Open the root directory of the volume\r
//\r