mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
Kernel: Protect Inode flock list with spinlock instead of mutex
This commit is contained in:
parent
a81aebfd6e
commit
e7dc9f71b8
2 changed files with 45 additions and 48 deletions
|
@ -131,7 +131,7 @@ private:
|
|||
short type;
|
||||
};
|
||||
|
||||
Vector<Flock> m_flocks;
|
||||
SpinlockProtected<Vector<Flock>> m_flocks;
|
||||
|
||||
public:
|
||||
using AllInstancesList = IntrusiveList<&Inode::m_inode_list_node>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue