mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
Ext2FS: Remove unnecessary lock in Ext2FS::write_ext2_node()
Now that writing to the underlying storage is serialized, we don't need to take the FS lock when writing out an inode struct.
This commit is contained in:
parent
dcc5b7397f
commit
81e3ea29c3
Notes:
sideshowbarker
2024-07-18 21:54:18 +09:00
Author: https://github.com/awesomekling
Commit: 81e3ea29c3
1 changed files with 0 additions and 1 deletions
|
@ -1141,7 +1141,6 @@ unsigned Ext2FS::blocks_per_group() const
|
|||
|
||||
bool Ext2FS::write_ext2_inode(InodeIndex inode, const ext2_inode& e2inode)
|
||||
{
|
||||
LOCKER(m_lock);
|
||||
BlockIndex block_index;
|
||||
unsigned offset;
|
||||
if (!find_block_containing_inode(inode, block_index, offset))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue