1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

Kernel/FileSystem: Remove the locking of a Inode mutex in InodeVMObjects

We no longer require to lock the m_inode_lock in the SharedInodeVMObject
code as the methods write_bytes and read_bytes of the Inode class do
this for us now.
This commit is contained in:
Liav A 2022-09-24 13:23:46 +03:00 committed by Idan Horowitz
parent 7d91724dd2
commit 0a793a7fa3
2 changed files with 0 additions and 2 deletions

View file

@ -33,7 +33,6 @@ class Inode : public ListedRefCounted<Inode, LockType::Spinlock>
friend class VirtualFileSystem;
friend class FileSystem;
friend class InodeFile;
friend class Kernel::Memory::SharedInodeVMObject; // FIXME: Remove when write_bytes becomes non-virtual
public:
virtual ~Inode();