All: Cleanup all files

Add newline to end of files and remove whitespace from end of lines
This commit is contained in:
2024-01-24 14:43:46 +02:00
parent 3441f63298
commit dfe5a2d665
226 changed files with 466 additions and 460 deletions

View File

@@ -13,7 +13,7 @@ namespace Kernel
public:
static void initialize();
static DevFileSystem& get();
void initialize_device_updater();
void add_device(BAN::RefPtr<Device>);
@@ -39,4 +39,4 @@ namespace Kernel
volatile bool m_should_sync { false };
};
}
}

View File

@@ -259,4 +259,4 @@ namespace Kernel::Ext2
}
}
}

View File

@@ -27,7 +27,7 @@ namespace Kernel
{
m_used = false;
}
size_t size() const { return m_buffer.size(); }
uint8_t* data() { return m_buffer.data(); }
@@ -44,7 +44,7 @@ namespace Kernel
bool& m_used;
};
public:
public:
static BAN::ErrorOr<Ext2FS*> create(BAN::RefPtr<BlockDevice>);
virtual BAN::RefPtr<Inode> root_inode() override { return m_root_inode; }
@@ -120,4 +120,4 @@ namespace Kernel
friend class Ext2Inode;
};
}
}

View File

@@ -35,7 +35,7 @@ namespace Kernel
virtual BAN::ErrorOr<void> create_file_impl(BAN::StringView, mode_t, uid_t, gid_t) override;
virtual BAN::ErrorOr<void> create_directory_impl(BAN::StringView, mode_t, uid_t, gid_t) override;
virtual BAN::ErrorOr<void> unlink_impl(BAN::StringView) override;
virtual BAN::ErrorOr<BAN::String> link_target_impl() override;
virtual BAN::ErrorOr<size_t> read_impl(off_t, BAN::ByteSpan) override;
@@ -81,4 +81,4 @@ namespace Kernel
friend class BAN::RefPtr<Ext2Inode>;
};
}
}

View File

@@ -12,4 +12,4 @@ namespace Kernel
virtual BAN::RefPtr<Inode> root_inode() = 0;
};
}
}

View File

@@ -131,4 +131,4 @@ namespace Kernel
friend class FileBackedRegion;
};
}
}

View File

@@ -50,4 +50,4 @@ namespace Kernel
uint32_t m_writing_count { 1 };
};
}
}

View File

@@ -20,4 +20,4 @@ namespace Kernel
ProcFileSystem();
};
}
}

View File

@@ -47,7 +47,7 @@ namespace Kernel
private:
ProcROInode(Process&, size_t (Process::*)(off_t, BAN::ByteSpan) const, TmpFileSystem&, const TmpInodeInfo&);
private:
Process& m_process;
size_t (Process::*m_callback)(off_t, BAN::ByteSpan) const;

View File

@@ -177,4 +177,4 @@ namespace Kernel
}
}
}
}

View File

@@ -44,4 +44,4 @@ namespace Kernel
BAN::Vector<MountPoint> m_mount_points;
};
}
}