mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 08:18:49 +00:00
Kernel: Fix typo in comment in Ext2FileSystem::read_bytes_locked method
This commit is contained in:
parent
0a793a7fa3
commit
3cf6ac1b3f
Notes:
sideshowbarker
2024-07-17 06:37:33 +09:00
Author: https://github.com/supercomputer7
Commit: 3cf6ac1b3f
Pull-request: https://github.com/SerenityOS/serenity/pull/15370
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ ErrorOr<size_t> Ext2FSInode::read_bytes_locked(off_t offset, size_t count, UserO
|
|||
|
||||
// Note: We bypass the const declaration of this method, but this is a strong
|
||||
// requirement to be able to accomplish the read operation successfully.
|
||||
// We call this special method becuase it locks a separate mutex to ensure we
|
||||
// We call this special method because it locks a separate mutex to ensure we
|
||||
// update the block list of the inode safely, as the m_inode_lock is locked in
|
||||
// shared mode.
|
||||
TRY(const_cast<Ext2FSInode&>(*this).compute_block_list_with_exclusive_locking());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue