summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/Inode.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-07 13:56:10 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-07 13:58:16 +0200
commited5d04b0ead11ecc452db9416bdccc4da9ca92ef (patch)
tree0c1aafd4d8a44ea83a0178441aa01e164311ab28 /Kernel/FileSystem/Inode.h
parent631b8e90cd1c271e23d92c46f578fc9cd6dbb81d (diff)
downloadserenity-ed5d04b0ead11ecc452db9416bdccc4da9ca92ef.zip
Kernel: Use KResultOr and TRY() for FIFO
Diffstat (limited to 'Kernel/FileSystem/Inode.h')
-rw-r--r--Kernel/FileSystem/Inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h
index 5c3db8f135..646cd068f1 100644
--- a/Kernel/FileSystem/Inode.h
+++ b/Kernel/FileSystem/Inode.h
@@ -94,7 +94,7 @@ public:
void register_watcher(Badge<InodeWatcher>, InodeWatcher&);
void unregister_watcher(Badge<InodeWatcher>, InodeWatcher&);
- NonnullRefPtr<FIFO> fifo();
+ KResultOr<NonnullRefPtr<FIFO>> fifo();
KResult can_apply_flock(OpenFileDescription const&, flock const&) const;
KResult apply_flock(Process const&, OpenFileDescription const&, Userspace<flock const*>);