mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-05 04:06:08 +00:00
Kernel: Tidy up VirtualFileSystem::mount_root() a little bit
- Return KResult instead of bool - Use TRY()
This commit is contained in:
@@ -42,7 +42,7 @@ public:
|
||||
VirtualFileSystem();
|
||||
~VirtualFileSystem();
|
||||
|
||||
bool mount_root(FileSystem&);
|
||||
KResult mount_root(FileSystem&);
|
||||
KResult mount(FileSystem&, Custody& mount_point, int flags);
|
||||
KResult bind_mount(Custody& source, Custody& mount_point, int flags);
|
||||
KResult remount(Custody& mount_point, int new_flags);
|
||||
|
||||
Reference in New Issue
Block a user