All: Clear lines with only whitspace in them
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
|
||||
|
||||
class DevFileSystem final : public RamFileSystem
|
||||
{
|
||||
public:
|
||||
@@ -13,7 +13,7 @@ namespace Kernel
|
||||
static DevFileSystem& get();
|
||||
|
||||
void initialize_device_updater();
|
||||
|
||||
|
||||
void add_device(BAN::StringView path, BAN::RefPtr<RamInode>);
|
||||
|
||||
dev_t get_next_dev();
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
|
||||
|
||||
class FileSystem
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
|
||||
|
||||
class RamInode;
|
||||
class RamDirectoryInode;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Kernel
|
||||
public:
|
||||
static BAN::ErrorOr<BAN::RefPtr<RamInode>> create(RamFileSystem&, mode_t, uid_t, gid_t);
|
||||
virtual ~RamInode() = default;
|
||||
|
||||
|
||||
virtual ino_t ino() const override { return m_inode_info.ino; }
|
||||
virtual Mode mode() const override { return { m_inode_info.mode }; }
|
||||
virtual nlink_t nlink() const override { return m_inode_info.nlink; }
|
||||
@@ -80,7 +80,7 @@ namespace Kernel
|
||||
|
||||
private:
|
||||
RamDirectoryInode(RamFileSystem&, ino_t parent, mode_t, uid_t, gid_t);
|
||||
|
||||
|
||||
private:
|
||||
static constexpr size_t m_name_max = NAME_MAX;
|
||||
struct Entry
|
||||
@@ -106,7 +106,7 @@ namespace Kernel
|
||||
virtual off_t size() const override { return m_target.size(); }
|
||||
|
||||
BAN::ErrorOr<void> set_link_target(BAN::StringView);
|
||||
|
||||
|
||||
protected:
|
||||
virtual BAN::ErrorOr<BAN::String> link_target_impl() override;
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace Kernel
|
||||
|
||||
private:
|
||||
BAN::String m_target;
|
||||
|
||||
|
||||
friend class RamFileSystem;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user