diff options
author | Liav A <liavalb@gmail.com> | 2022-05-28 15:42:03 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-29 19:31:02 +0100 |
commit | 58acdce41f60fec39bd09838ca492a21dd0ea5bb (patch) | |
tree | ea123713aa2fafbaf8d11ced5a599fd369aef789 /Base | |
parent | 4c588441e318e2d0d238fe802ba010f838078aa6 (diff) | |
download | serenity-58acdce41f60fec39bd09838ca492a21dd0ea5bb.zip |
Kernel/FileSystem: Simplify even more the mount syscall
As with the previous commit, we put a distinction between filesystems
that require a file description and those which don't, but now in a much
more readable mechanism - all initialization properties as well as the
create static method are grouped to create the FileSystemInitializer
structure. Then when we need to initialize an instance, we iterate over
a table of these structures, checking for matching structure and then
validating the given arguments from userspace against the requirements
to ensure we can create a valid instance of the requested filesystem.
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions