Kernel: Make Inode::can_access const

This commit is contained in:
2024-09-14 19:39:41 +03:00
parent b41738b47b
commit 2b52ea4c6f
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ namespace Kernel
public:
virtual ~Inode() {}
bool can_access(const Credentials&, int);
bool can_access(const Credentials&, int) const;
bool operator==(const Inode& other) const { return dev() == other.dev() && ino() == other.ino(); }