[PATCH] ocfs2: Fix typo in comment

Mohammed Anees posted 1 patch 2 months, 1 week ago
fs/ocfs2/alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ocfs2: Fix typo in comment
Posted by Mohammed Anees 2 months, 1 week ago
Fix "Allcate" -> "Allocate"

Signed-off-by: Mohammed Anees <pvmohammedanees2003@gmail.com>
---
 fs/ocfs2/alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
index ea9127ba3..395e23920 100644
--- a/fs/ocfs2/alloc.c
+++ b/fs/ocfs2/alloc.c
@@ -4767,7 +4767,7 @@ int ocfs2_insert_extent(handle_t *handle,
 }
 
 /*
- * Allcate and add clusters into the extent b-tree.
+ * Allocate and add clusters into the extent b-tree.
  * The new clusters(clusters_to_add) will be inserted at logical_offset.
  * The extent b-tree's root is specified by et, and
  * it is not limited to the file storage. Any extent tree can use this
-- 
2.46.0
Re: [PATCH] ocfs2: Fix typo in comment
Posted by Joseph Qi 2 months, 1 week ago

On 9/18/24 2:51 AM, Mohammed Anees wrote:
> Fix "Allcate" -> "Allocate"
> 
> Signed-off-by: Mohammed Anees <pvmohammedanees2003@gmail.com>

Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
> ---
>  fs/ocfs2/alloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
> index ea9127ba3..395e23920 100644
> --- a/fs/ocfs2/alloc.c
> +++ b/fs/ocfs2/alloc.c
> @@ -4767,7 +4767,7 @@ int ocfs2_insert_extent(handle_t *handle,
>  }
>  
>  /*
> - * Allcate and add clusters into the extent b-tree.
> + * Allocate and add clusters into the extent b-tree.
>   * The new clusters(clusters_to_add) will be inserted at logical_offset.
>   * The extent b-tree's root is specified by et, and
>   * it is not limited to the file storage. Any extent tree can use this