forked from Bananymous/banan-os
All: Cleanup all files
Add newline to end of files and remove whitespace from end of lines
This commit is contained in:
@@ -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 };
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,4 +259,4 @@ namespace Kernel::Ext2
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ namespace Kernel
|
||||
virtual BAN::RefPtr<Inode> root_inode() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,4 +131,4 @@ namespace Kernel
|
||||
friend class FileBackedRegion;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,4 +50,4 @@ namespace Kernel
|
||||
uint32_t m_writing_count { 1 };
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,4 +20,4 @@ namespace Kernel
|
||||
ProcFileSystem();
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -177,4 +177,4 @@ namespace Kernel
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,4 +44,4 @@ namespace Kernel
|
||||
BAN::Vector<MountPoint> m_mount_points;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user