summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/FileManager.cxx
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-04 23:53:20 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-04 23:53:56 +0200
commit175296c1e85d2747fb4b1063199e933978320231 (patch)
tree161659f9af65a0c37802630209ec2654cfec1659 /Kernel/Sources/FileManager.cxx
parent16c2e132b39836a3e312f3bda7ee0e6de60d6dd9 (diff)
MHR-36: Running run_format.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Sources/FileManager.cxx')
-rw-r--r--Kernel/Sources/FileManager.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Kernel/Sources/FileManager.cxx b/Kernel/Sources/FileManager.cxx
index 35913b85..1da46540 100644
--- a/Kernel/Sources/FileManager.cxx
+++ b/Kernel/Sources/FileManager.cxx
@@ -81,8 +81,10 @@ namespace Kernel
/// @return
Void NewFilesystemManager::Write(_Input NodePtr node, _Input VoidPtr data, _Input Int32 flags, _Input SizeT size)
{
- if (!node) return;
- if (!size) return;
+ if (!node)
+ return;
+ if (!size)
+ return;
constexpr auto cDataForkName = kNewFSDataFork;
this->Write(cDataForkName, node, data, flags, size);
@@ -95,8 +97,10 @@ namespace Kernel
/// @return
VoidPtr NewFilesystemManager::Read(_Input NodePtr node, _Input Int32 flags, _Input SizeT size)
{
- if (!node) return nullptr;
- if (!size) return nullptr;
+ if (!node)
+ return nullptr;
+ if (!size)
+ return nullptr;
constexpr auto cDataForkName = kNewFSDataFork;
return this->Read(cDataForkName, node, flags, size);