diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-09-04 21:04:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-05 12:54:48 +0200 |
commit | 566c5d1e99b096f83b39bc37be57db0c6a4fe195 (patch) | |
tree | 379529cf9cd19972c1ecc34d26e539caade1234e /Kernel/FileSystem/ISO9660FileSystem.cpp | |
parent | d8de352eadce62789a00f8d6da6c2e77903e9180 (diff) | |
download | serenity-566c5d1e99b096f83b39bc37be57db0c6a4fe195.zip |
AK+Kernel: Move KResult.h to Kernel/API for userspace access
This commit moves the KResult and KResultOr objects to Kernel/API to
signify that they may now be freely used by userspace code at points
where a syscall-related error result is to be expected. It also exposes
KResult and KResultOr to the global namespace to make it nicer to use
for userspace code.
Diffstat (limited to 'Kernel/FileSystem/ISO9660FileSystem.cpp')
-rw-r--r-- | Kernel/FileSystem/ISO9660FileSystem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/FileSystem/ISO9660FileSystem.cpp b/Kernel/FileSystem/ISO9660FileSystem.cpp index 5afb80c2d9..dbd5739ef3 100644 --- a/Kernel/FileSystem/ISO9660FileSystem.cpp +++ b/Kernel/FileSystem/ISO9660FileSystem.cpp @@ -5,7 +5,6 @@ */ #include "ISO9660FileSystem.h" -#include "Kernel/FileSystem/BlockBasedFileSystem.h" #include <AK/CharacterTypes.h> #include <AK/Endian.h> #include <AK/HashFunctions.h> @@ -15,9 +14,9 @@ #include <AK/StringHash.h> #include <AK/StringView.h> #include <Kernel/Debug.h> +#include <Kernel/FileSystem/BlockBasedFileSystem.h> #include <Kernel/Forward.h> #include <Kernel/KBuffer.h> -#include <Kernel/KResult.h> #include <Kernel/UnixTypes.h> #include <Kernel/UserOrKernelBuffer.h> |