mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00: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
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