Patchwork [RESEND,1/2] ext4: fix a typo in extents.c

login
register
mail settings
Submitter Yongqiang Yang
Date Dec. 20, 2013, 5:11 a.m.
Message ID <CAGBYx2bJKzNU9qQEbQjWKk3c=DzBEHu_5waa=2uShHwX3JbpYQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/303889/
State Awaiting Upstream
Headers show

Comments

Yongqiang Yang - Dec. 20, 2013, 5:11 a.m.
From: Yongqiang Yang <xiaoqiangnk@gmail.com>

Signed-off-by: Yongqiang Yang <yangyongqiang01@baidu.com>
---
 fs/ext4/extents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
1.8.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Carlos Maiolino - Dec. 23, 2013, 12:17 p.m.
On Fri, Dec 20, 2013 at 01:11:38PM +0800, Yongqiang Yang wrote:
> From: Yongqiang Yang <xiaoqiangnk@gmail.com>
> 
> Signed-off-by: Yongqiang Yang <yangyongqiang01@baidu.com>
> ---
>  fs/ext4/extents.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
> index 54d52af..3654dac 100644
> --- a/fs/ext4/extents.c
> +++ b/fs/ext4/extents.c
> @@ -3492,7 +3492,7 @@ static int
> ext4_ext_convert_to_initialized(handle_t *handle,
>         WARN_ON(map->m_lblk < ee_block);
>         /*
>          * It is safe to convert extent to initialized via explicit
> -        * zeroout only if extent is fully insde i_size or new_size.
> +        * zeroout only if extent is fully inside i_size or new_size.
>          */
>         split_flag |= ee_block + ee_len <= eof_block ? EXT4_EXT_MAY_ZEROOUT : 0;
> 
Looks good
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>

Patch

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 54d52af..3654dac 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -3492,7 +3492,7 @@  static int
ext4_ext_convert_to_initialized(handle_t *handle,
        WARN_ON(map->m_lblk < ee_block);
        /*
         * It is safe to convert extent to initialized via explicit
-        * zeroout only if extent is fully insde i_size or new_size.
+        * zeroout only if extent is fully inside i_size or new_size.
         */
        split_flag |= ee_block + ee_len <= eof_block ? EXT4_EXT_MAY_ZEROOUT : 0;