--- FatPkg/EnhancedFatDxe/DirectoryManage.c | 2 +- FatPkg/EnhancedFatDxe/FileSpace.c | 8 ++++---- FatPkg/EnhancedFatDxe/Flush.c | 2 +- FatPkg/EnhancedFatDxe/Open.c | 4 ++-- FatPkg/EnhancedFatDxe/ReadWrite.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/FatPkg/EnhancedFatDxe/DirectoryManage.c b/FatPkg/EnhancedFatDxe/DirectoryManage.c index 00e2bad..44d43a8 100644 --- a/FatPkg/EnhancedFatDxe/DirectoryManage.c +++ b/FatPkg/EnhancedFatDxe/DirectoryManage.c @@ -525,7 +525,7 @@ Returns: FAT_DIRECTORY_ENTRY *Entry; FAT_DATE_TIME FatLastAccess;
- ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume);
Size = SIZE_OF_EFI_FILE_INFO; NameSize = StrSize (DirEnt->FileString); diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/FileSpace.c index c609821..e88dbe2 100644 --- a/FatPkg/EnhancedFatDxe/FileSpace.c +++ b/FatPkg/EnhancedFatDxe/FileSpace.c @@ -409,7 +409,7 @@ Returns: UINTN LastCluster;
Volume = OFile->Volume; - ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume);
NewSize = FatSizeToClusters (Volume, OFile->FileSize);
@@ -501,7 +501,7 @@ Returns: }
Volume = OFile->Volume; - ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume); // // If the file is already large enough, do nothing // @@ -620,7 +620,7 @@ Returns: Volume = OFile->Volume; ClusterSize = Volume->ClusterSize;
- ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume);
// // If this is the fixed root dir, then compute it's position @@ -709,7 +709,7 @@ Returns: --*/ { UINTN Size; - ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume); // // Run the cluster chain for the OFile // diff --git a/FatPkg/EnhancedFatDxe/Flush.c b/FatPkg/EnhancedFatDxe/Flush.c index 320834c..0f239c1 100644 --- a/FatPkg/EnhancedFatDxe/Flush.c +++ b/FatPkg/EnhancedFatDxe/Flush.c @@ -156,7 +156,7 @@ Returns: OFile = IFile->OFile; Volume = OFile->Volume;
- ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume);
// // Remove the IFile struct diff --git a/FatPkg/EnhancedFatDxe/Open.c b/FatPkg/EnhancedFatDxe/Open.c index 6db7a50..033b845 100644 --- a/FatPkg/EnhancedFatDxe/Open.c +++ b/FatPkg/EnhancedFatDxe/Open.c @@ -46,7 +46,7 @@ Returns: { FAT_IFILE *IFile;
- ASSERT_VOLUME_LOCKED (OFile->Volume); + //ASSERT_VOLUME_LOCKED (OFile->Volume);
// // Allocate a new open instance @@ -111,7 +111,7 @@ Returns: BOOLEAN WriteMode;
Volume = OFile->Volume; - ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume); WriteMode = (BOOLEAN) (OpenMode & EFI_FILE_MODE_WRITE); if (Volume->ReadOnly && WriteMode) { return EFI_WRITE_PROTECTED; diff --git a/FatPkg/EnhancedFatDxe/ReadWrite.c b/FatPkg/EnhancedFatDxe/ReadWrite.c index 13b9117..aab4745 100644 --- a/FatPkg/EnhancedFatDxe/ReadWrite.c +++ b/FatPkg/EnhancedFatDxe/ReadWrite.c @@ -438,7 +438,7 @@ Returns:
BufferSize = *DataBufferSize; Volume = OFile->Volume; - ASSERT_VOLUME_LOCKED (Volume); + //ASSERT_VOLUME_LOCKED (Volume);
Status = EFI_SUCCESS; while (BufferSize > 0) {