summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Sources
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-01 15:38:05 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-01 15:38:05 +0200
commit76835f023db03aef20c74541fb2a8a9485206cf7 (patch)
treeab7b82e1860ac3d04353ade7ef74449ea4454488 /dev/ZKA/Sources
parent46670e7ba97ec80bbcc88feb3d7db7ef3f5e2147 (diff)
Added new fields for the OS inside handover header.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Sources')
-rw-r--r--dev/ZKA/Sources/FS/NewFS.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev/ZKA/Sources/FS/NewFS.cxx b/dev/ZKA/Sources/FS/NewFS.cxx
index edec6a6e..43cc22b5 100644
--- a/dev/ZKA/Sources/FS/NewFS.cxx
+++ b/dev/ZKA/Sources/FS/NewFS.cxx
@@ -62,8 +62,7 @@ STATIC MountpointInterface sMountpointInterface;
_Output NFS_FORK_STRUCT* NewFSParser::CreateFork(_Input NFS_CATALOG_STRUCT* catalog,
_Input NFS_FORK_STRUCT& theFork)
{
- if (catalog && theFork.ForkName[0] != 0 &&
- theFork.DataSize <= kNewFSForkSz)
+ if (catalog && theFork.ForkName[0] != 0)
{
Lba lba = (theFork.Kind == kNewFSDataForkKind) ? catalog->DataFork
: catalog->ResourceFork;
@@ -710,7 +709,7 @@ bool NewFSParser::WriteCatalog(_Input _Output NFS_CATALOG_STRUCT* catalog, Bool
prevFork = *forkDataIn;
- startFork = forkDataIn->NextSibling + forkDataIn->DataSize;
+ startFork = forkDataIn->NextSibling;
}
return false;