mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
Kernel: Tidy up Plan9FS construction a bit
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 04:37:29 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d34f2b643e3
@@ -20,7 +20,7 @@ class Plan9FS final : public FileBackedFileSystem {
|
||||
|
||||
public:
|
||||
virtual ~Plan9FS() override;
|
||||
static NonnullRefPtr<Plan9FS> create(FileDescription&);
|
||||
static KResultOr<NonnullRefPtr<Plan9FS>> try_create(FileDescription&);
|
||||
|
||||
virtual KResult initialize() override;
|
||||
|
||||
@@ -169,7 +169,7 @@ public:
|
||||
|
||||
private:
|
||||
Plan9FSInode(Plan9FS&, u32 fid);
|
||||
static NonnullRefPtr<Plan9FSInode> create(Plan9FS&, u32 fid);
|
||||
static KResultOr<NonnullRefPtr<Plan9FSInode>> try_create(Plan9FS&, u32 fid);
|
||||
|
||||
enum class GetAttrMask : u64 {
|
||||
Mode = 0x1,
|
||||
|
||||
Reference in New Issue
Block a user