From bb5081f413b3463e280b911195093303db336218 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Fri, 29 Nov 2013 03:04:16 +0000 Subject: [PATCH] Fix a bug in Fat driver that it asserts when OpenEx/ReadEx/WriteEx is about to return failure. Signed-off-by: Ruiyu Ni Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14917 6f19259b-4bc3-4df7-8a09-765794883524 --- FatBinPkg/EnhancedFatDxe/Ebc/Fat.efi | Bin 62752 -> 62784 bytes FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi | Bin 18048 -> 18048 bytes FatBinPkg/EnhancedFatDxe/Ipf/Fat.efi | Bin 141536 -> 141568 bytes FatBinPkg/EnhancedFatDxe/X64/Fat.efi | Bin 27136 -> 27136 bytes FatBinPkg/ReadMe.txt | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FatBinPkg/EnhancedFatDxe/Ebc/Fat.efi b/FatBinPkg/EnhancedFatDxe/Ebc/Fat.efi index d4d3dbf01f01113b9d2d997deeb0d7f821a2c7c6..f94488fd7da2e36a5d2b32d45d1e5438c59a9a8c 100644 GIT binary patch delta 2096 zcmZ`*dr(wm6#vfMyWGWP@$LdHD71Sal+*@x5g{JQh7606kdu$>!Acoali_OY+6!W7 z*wRMwjIUC&u}LQ@ZEs^<%L4wwrYW(YM>cwJKrwi_D6SS@9zDbbAIP{ z&Uem*eZ#umVO`G;X+ys-#w7aCE(ZJcSL%AU2GjL3X0&3S&b+5dI0a z#L5xI_EB6VW(l^$A$sy8kR7XqTjkG)H{_Sunr@kC^U|+ir!X6O@Lgg33_qE27gpDF z9?^?w$@!I*wHd_kaiYB&<-bz0Sy9!YxsI1KIx|9=*PCVfIDah)!NixbO|+v1SYOW2#3DQnWAIPfM8&b)W-6kZ-L ze_yn`j*d`E0X6L(njOyQB7xzHl+_J#*dWN%tgapw9?;2pdpIcCT^3)9-Y&2}zCE4U zL;eQRR>>MjTP2<=Nq1WPQ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