linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ext2: Fix a typo in comment
@ 2019-01-29 12:39 Liu Xiang
  2019-01-29 15:44 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Xiang @ 2019-01-29 12:39 UTC (permalink / raw)
  To: jack; +Cc: linux-ext4, linux-kernel, liuxiang_1999, Liu Xiang

Fix a typo in ext2_get_blocks comment.

Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
---
 fs/ext2/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index e4bb938..11da3fb 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -717,7 +717,7 @@ static int ext2_get_blocks(struct inode *inode,
 	/* the number of blocks need to allocate for [d,t]indirect blocks */
 	indirect_blks = (chain + depth) - partial - 1;
 	/*
-	 * Next look up the indirect map to count the totoal number of
+	 * Next look up the indirect map to count the total number of
 	 * direct blocks to allocate for this branch.
 	 */
 	count = ext2_blks_to_allocate(partial, indirect_blks,
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ext2: Fix a typo in comment
  2019-01-29 12:39 [PATCH] ext2: Fix a typo in comment Liu Xiang
@ 2019-01-29 15:44 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2019-01-29 15:44 UTC (permalink / raw)
  To: Liu Xiang; +Cc: jack, linux-ext4, linux-kernel, liuxiang_1999

On Tue 29-01-19 20:39:49, Liu Xiang wrote:
> Fix a typo in ext2_get_blocks comment.
> 
> Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>

Thanks for the patch! Applied to my tree.

								Honza

> ---
>  fs/ext2/inode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
> index e4bb938..11da3fb 100644
> --- a/fs/ext2/inode.c
> +++ b/fs/ext2/inode.c
> @@ -717,7 +717,7 @@ static int ext2_get_blocks(struct inode *inode,
>  	/* the number of blocks need to allocate for [d,t]indirect blocks */
>  	indirect_blks = (chain + depth) - partial - 1;
>  	/*
> -	 * Next look up the indirect map to count the totoal number of
> +	 * Next look up the indirect map to count the total number of
>  	 * direct blocks to allocate for this branch.
>  	 */
>  	count = ext2_blks_to_allocate(partial, indirect_blks,
> -- 
> 1.9.1
> 
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-29 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29 12:39 [PATCH] ext2: Fix a typo in comment Liu Xiang
2019-01-29 15:44 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).