Re: [PATCH] ext2: Fix a typo in comment
From: Jan Kara
Date: Tue Jan 29 2019 - 10:44:21 EST
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@xxxxxxxxxx>
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@xxxxxxxx>
SUSE Labs, CR