From 3cf6ac1b3f9a048cc38dccab9b6b4e39e7d7f367 Mon Sep 17 00:00:00 2001 From: Liav A Date: Mon, 26 Sep 2022 21:34:28 +0300 Subject: [PATCH] Kernel: Fix typo in comment in Ext2FileSystem::read_bytes_locked method --- Kernel/FileSystem/Ext2FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/FileSystem/Ext2FileSystem.cpp b/Kernel/FileSystem/Ext2FileSystem.cpp index 87bfc6de7c..fadf67888f 100644 --- a/Kernel/FileSystem/Ext2FileSystem.cpp +++ b/Kernel/FileSystem/Ext2FileSystem.cpp @@ -832,7 +832,7 @@ ErrorOr 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(*this).compute_block_list_with_exclusive_locking());