mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 15:44:57 +00:00
Kernel: Rename Inode::m_lock => m_inode_lock
This makes file system code much easier to read since it was hard when both the file system and inode locks were called "m_lock".
This commit is contained in:
parent
63e1423830
commit
3b805a57e6
8 changed files with 72 additions and 72 deletions
|
@ -698,7 +698,7 @@ KResult Plan9FSInode::ensure_open_for_mode(int mode)
|
|||
u8 p9_mode = 0;
|
||||
|
||||
{
|
||||
Locker locker(m_lock);
|
||||
Locker locker(m_inode_lock);
|
||||
|
||||
// If it's already open in this mode, we're done.
|
||||
if ((m_open_mode & mode) == mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue