From 571f4f52d4234d2eab556e8d26cc9095651558c2 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Tue, 23 Mar 2010 00:39:54 +0000 Subject: 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 --- DuetPkg/FSVariable/FileStorage.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c index 1792767b07..82b744c1d4 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")); } -- cgit v1.2.3