summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot/BootKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-29 09:57:48 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-29 09:57:48 +0100
commit8b7216aaf2dacad7ce67d734d07b047fed8ec01e (patch)
tree7af56dd646a4d12a25024da7ad5e6406ff98f124 /dev/Boot/BootKit
parent5b1bb6cc086047e99a1d246fd2d337bf76887bd8 (diff)
IMPL: NeFS: Add file lock feature and validation for it.
- It is added to hide files from indexing. - And will be used to hide system files. IMPL: Swap: Add SwapDiskDelegate class, will also work on a swap packet structure. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/BootKit')
-rw-r--r--dev/Boot/BootKit/BootKit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev/Boot/BootKit/BootKit.h b/dev/Boot/BootKit/BootKit.h
index a92614f4..ab9f9b8f 100644
--- a/dev/Boot/BootKit/BootKit.h
+++ b/dev/Boot/BootKit/BootKit.h
@@ -278,8 +278,9 @@ namespace Boot
catalogKind.NextSibling = (startLba + sizeof(NFS_CATALOG_STRUCT) * cNeFSCatalogPadding);
/// Fill catalog kind.
- catalogKind.Kind = blob->fKind;
- catalogKind.Flags = kNeFSFlagCreated;
+ catalogKind.Kind = blob->fKind;
+ catalogKind.Flags = kNeFSFlagCreated;
+ catalogKind.Status = kNeFSStatusUnlocked;
--partBlock.FreeCatalog;
--partBlock.FreeSectors;