lkml.org 
[lkml]   [2019]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ext2: Fix a typo in comment
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

\
 
 \ /
  Last update: 2019-01-29 16:44    [W:0.050 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site