diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-10-24 15:22:31 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-10-24 15:22:31 +0800 |
commit | ea1486c28127057b7f3059b8c3c74afe7912460f (patch) | |
tree | 82eaa026de57a2a05942c10f98992a7a14868b84 /FatPkg | |
parent | b08b045ca9ab46f335d2edc21eeea5340a1aea6b (diff) | |
download | edk2-ea1486c28127057b7f3059b8c3c74afe7912460f.tar.gz edk2-ea1486c28127057b7f3059b8c3c74afe7912460f.tar.bz2 edk2-ea1486c28127057b7f3059b8c3c74afe7912460f.zip |
FatPkg: Correct the line ending to CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg')
-rw-r--r-- | FatPkg/EnhancedFatDxe/FileSpace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/FileSpace.c index 50391b75b8..e17d3b6531 100644 --- a/FatPkg/EnhancedFatDxe/FileSpace.c +++ b/FatPkg/EnhancedFatDxe/FileSpace.c @@ -509,11 +509,11 @@ FatGrowEof ( goto Done;
}
- if (NewCluster < FAT_MIN_CLUSTER || NewCluster > Volume->MaxCluster + 1) { - Status = EFI_VOLUME_CORRUPTED; - goto Done; - } - + if (NewCluster < FAT_MIN_CLUSTER || NewCluster > Volume->MaxCluster + 1) {
+ Status = EFI_VOLUME_CORRUPTED;
+ goto Done;
+ }
+
if (LastCluster != 0) {
FatSetFatEntry (Volume, LastCluster, NewCluster);
} else {
|