mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
Kernel: Tidy up Ext2FS construction a bit
This commit is contained in:
parent
47bfbe343b
commit
36725228fa
4 changed files with 5 additions and 5 deletions
|
@ -72,7 +72,7 @@ KResultOr<FlatPtr> Process::sys$mount(Userspace<const Syscall::SC_mount_params*>
|
|||
|
||||
dbgln("mount: attempting to mount {} on {}", description->absolute_path(), target);
|
||||
|
||||
fs = Ext2FS::create(*description);
|
||||
fs = TRY(Ext2FS::try_create(*description));
|
||||
} else if (fs_type == "9p"sv || fs_type == "Plan9FS"sv) {
|
||||
if (description_or_error.is_error())
|
||||
return EBADF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue