mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Kernel: Tidy up VirtualFileSystem::mount_root() a little bit
- Return KResult instead of bool - Use TRY()
This commit is contained in:
parent
b0f2acbd91
commit
71187d865e
Notes:
sideshowbarker
2024-07-18 04:43:10 +09:00
Author: https://github.com/awesomekling
Commit: 71187d865e
3 changed files with 7 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue