[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140721194837.GB19942@quack.suse.cz>
Date: Mon, 21 Jul 2014 21:48:37 +0200
From: Jan Kara <jack@...e.cz>
To: Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: linux-ext4@...r.kernel.org, tytso@....edu
Subject: Re: [PATCH 2/3] ext4: use correct depth value
On Mon 21-07-14 19:04:48, Dmitry Monakhov wrote:
> Inode's depth can be changed from here:
> ext4_ext_try_to_merge() ->ext4_ext_try_to_merge_up()
> We must use correct value.
Looks good. You can add:
Reviewed-by: Jan Kara <jack@...e.cz>
Honza
>
> Signed-off-by: Dmitry Monakhov <dmonakhov@...nvz.org>
> ---
> fs/ext4/extents.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
> index ee93f82..6950bab 100644
> --- a/fs/ext4/extents.c
> +++ b/fs/ext4/extents.c
> @@ -3254,7 +3254,7 @@ out:
>
> fix_extent_len:
> ex->ee_len = orig_ex.ee_len;
> - ext4_ext_dirty(handle, inode, path + depth);
> + ext4_ext_dirty(handle, inode, path + path->p_depth);
> return err;
> }
>
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists