summaryrefslogtreecommitdiff
path: root/DuetPkg/FSVariable/FileStorage.c
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-23 00:39:54 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-23 00:39:54 +0000
commit571f4f52d4234d2eab556e8d26cc9095651558c2 (patch)
tree772928899a1c4a3eca7dc6eca3670a8125852659 /DuetPkg/FSVariable/FileStorage.c
parent38dc2202cf5836a1d6b99baaec08f74adbc8237d (diff)
downloadedk2-571f4f52d4234d2eab556e8d26cc9095651558c2.zip
edk2-571f4f52d4234d2eab556e8d26cc9095651558c2.tar.gz
edk2-571f4f52d4234d2eab556e8d26cc9095651558c2.tar.bz2
Remove the work around as the Fat driver's lock issue was found and fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10304 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/FSVariable/FileStorage.c')
-rw-r--r--DuetPkg/FSVariable/FileStorage.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c
index 1792767..82b744c 100644
--- a/DuetPkg/FSVariable/FileStorage.c
+++ b/DuetPkg/FSVariable/FileStorage.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2006 - 2009, Intel Corporation
+Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -223,9 +223,7 @@ OnSimpleFileSystemInstall (
NumBytes = Dev->Size;
Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev));
ASSERT_EFI_ERROR (Status);
- // KEN: bugbug here if closing file, volume handle will be free,
- // and system will be hang when accessing volume handle in future.
- //FileClose (File);
+ FileClose (File);
DEBUG ((EFI_D_ERROR, "FileStorage: Mapped to file!\n"));
}