and was in the extents file, then delete the record instead.
*/
+#if CONFIG_HFS_STD
static const int64_t kTwoGigabytes = 0x80000000LL;
+#endif
enum
{
else {
wantContig = true;
}
+
+
useMetaZone = flags & kEFMetadataMask;
do {
if (blockHint != 0)
if (availbytes <= 0) {
err = dskFulErr;
} else {
- if (wantContig && (availbytes < bytesToAdd))
+ if (wantContig && (availbytes < bytesToAdd)) {
err = dskFulErr;
+ }
else {
uint32_t ba_flags = 0;
+
if (wantContig) {
ba_flags |= HFS_ALLOC_FORCECONTIG;
}
#if CONFIG_HFS_STD
HFS_Std_Overflow:
-#endif
err = fileBoundsErr;
goto ErrorExit;
+#endif
}