summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/NewFS-Journal.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-04 10:59:24 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-04 10:59:24 +0100
commite2bbec91d70847cc5a2ff67eb84ca4a3c2d03e85 (patch)
tree1e7fec7c232b0c750157007113ce8f86d43b7e76 /Private/Source/NewFS-Journal.cxx
parentaff54fd3dc6855b62c047f126c6fe20ca717ee0f (diff)
Kernel: Depend less on NewFS, add support for FileSystem protocol in
NewBoot. Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/NewFS-Journal.cxx')
-rw-r--r--Private/Source/NewFS-Journal.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Private/Source/NewFS-Journal.cxx b/Private/Source/NewFS-Journal.cxx
index 029e051a..72812b6e 100644
--- a/Private/Source/NewFS-Journal.cxx
+++ b/Private/Source/NewFS-Journal.cxx
@@ -7,9 +7,12 @@
* ========================================================
*/
-#include <FSKit/NewFS.hxx>
#include <KernelKit/DebugOutput.hpp>
+#include <KernelKit/FileManager.hpp>
+#ifdef __USE_NEWFS__
+
+//! bugs: 0
//! @brief Journaling for NewFS.
#define kOpCache (4)
@@ -57,3 +60,5 @@ class NewFSJournalRunner final {
}
};
} // namespace HCore
+
+#endif // ifdef __USE_NEWFS__