Kernel: Clang format file system in prep for changes.

This commit is contained in:
Brian Gianforcaro 2020-05-26 00:35:11 -07:00 committed by Andreas Kling
parent 82d0352a67
commit c459e4ecb2
Notes: sideshowbarker 2024-07-19 06:08:25 +09:00
4 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ public:
virtual RefPtr<Inode> get_inode(InodeIdentifier) const = 0;
virtual void flush_writes() {}
virtual void flush_writes() { }
size_t block_size() const { return m_block_size; }

View File

@ -50,7 +50,7 @@ class Inode : public RefCounted<Inode>
public:
virtual ~Inode();
virtual void one_ref_left() {}
virtual void one_ref_left() { }
FS& fs() { return m_fs; }
const FS& fs() const { return m_fs; }

View File

@ -30,6 +30,7 @@
#include <AK/JsonValue.h>
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/CommandLine.h>
#include <Kernel/Console.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/FileBackedFileSystem.h>
@ -51,11 +52,10 @@
#include <Kernel/Process.h>
#include <Kernel/Profiling.h>
#include <Kernel/Scheduler.h>
#include <Kernel/StdLib.h>
#include <Kernel/TTY/TTY.h>
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/PurgeableVMObject.h>
#include <Kernel/Console.h>
#include <Kernel/StdLib.h>
#include <LibC/errno_numbers.h>
namespace Kernel {

View File

@ -62,7 +62,7 @@ private:
ProcFS();
struct ProcFSDirectoryEntry {
ProcFSDirectoryEntry() {}
ProcFSDirectoryEntry() { }
ProcFSDirectoryEntry(const char* a_name, unsigned a_proc_file_type, bool a_supervisor_only, Function<Optional<KBuffer>(InodeIdentifier)>&& a_read_callback = nullptr, Function<ssize_t(InodeIdentifier, const ByteBuffer&)>&& a_write_callback = nullptr, RefPtr<ProcFSInode>&& a_inode = nullptr)
: name(a_name)
, proc_file_type(a_proc_file_type)