[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190323155850.GD5675@mit.edu>
Date: Sat, 23 Mar 2019 11:58:50 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: "zhangyi (F)" <yi.zhang@...wei.com>
Cc: linux-ext4@...r.kernel.org, jack@...e.cz, adilger.kernel@...ger.ca,
miaoxie@...wei.com
Subject: Re: [PATCH v2 2/2] ext4: cleanup bh release code in
ext4_ind_remove_space()
On Fri, Mar 15, 2019 at 03:10:13PM +0800, zhangyi (F) wrote:
> Currently, we are releasing the indirect buffer where we are done with
> it in ext4_ind_remove_space(), so we can see the brelse() and
> BUFFER_TRACE() everywhere. It seems fragile and hard to read, and we
> may probably forget to release the buffer some day. This patch do some
> cleanup stuff, put all the releasing code together to the end of this
> function.
>
> Signed-off-by: zhangyi (F) <yi.zhang@...wei.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists