From 4fc88aa17b810f9815854b6804f56fe43196584e Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 25 Aug 2023 08:30:04 -0400 Subject: [PATCH] Kernel: Run clang-format on a couple of FileSystem sources Fixes bad formatting in commit abcf05801ad259c06197b9ef54a76e58cf319509. --- Kernel/FileSystem/Inode.cpp | 1 - Kernel/FileSystem/VirtualFileSystem.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel/FileSystem/Inode.cpp b/Kernel/FileSystem/Inode.cpp index bc248f45f5..52b15a4f72 100644 --- a/Kernel/FileSystem/Inode.cpp +++ b/Kernel/FileSystem/Inode.cpp @@ -52,7 +52,6 @@ void Inode::sync() if (result.is_error()) { // TODO: Figure out how to propagate error to a higher function. } - } ErrorOr> Inode::resolve_as_link(Credentials const& credentials, Custody& base, RefPtr* out_parent, int options, int symlink_recursion_level) const diff --git a/Kernel/FileSystem/VirtualFileSystem.cpp b/Kernel/FileSystem/VirtualFileSystem.cpp index 0bbbde1c3d..e586d8ba63 100644 --- a/Kernel/FileSystem/VirtualFileSystem.cpp +++ b/Kernel/FileSystem/VirtualFileSystem.cpp @@ -262,7 +262,7 @@ void VirtualFileSystem::sync_filesystems() for (auto& fs : file_systems) { auto result = fs->flush_writes(); if (result.is_error()) { - //TODO: Figure out how to propagate error to a higher function. + // TODO: Figure out how to propagate error to a higher function. } } }