From a7bfc1c2ecebfd9b4a31a77a27a9f98631de0e93 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 31 Aug 2023 21:38:13 +0300 Subject: [PATCH] Kernel: Add missing ififo() to Inode::Mode --- kernel/include/kernel/FS/Inode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/include/kernel/FS/Inode.h b/kernel/include/kernel/FS/Inode.h index 8f34ca54..a51258b9 100644 --- a/kernel/include/kernel/FS/Inode.h +++ b/kernel/include/kernel/FS/Inode.h @@ -49,6 +49,7 @@ namespace Kernel bool ifdir() const { return (mode & Mask::TYPE_MASK) == Mask::IFDIR; } bool ifblk() const { return (mode & Mask::TYPE_MASK) == Mask::IFBLK; } bool ifreg() const { return (mode & Mask::TYPE_MASK) == Mask::IFREG; } + bool ififo() const { return (mode & Mask::TYPE_MASK) == Mask::IFIFO; } bool iflnk() const { return (mode & Mask::TYPE_MASK) == Mask::IFLNK; } bool ifsock() const { return (mode & Mask::TYPE_MASK) == Mask::IFSOCK; } mode_t mode;