Re: [PATCH v2] md: make md_flush_request() more readable

From: Song Liu
Date: Mon Jun 10 2024 - 16:53:56 EST


On Tue, May 28, 2024 at 5:39 AM <linan666@xxxxxxxxxxxxxxx> wrote:
>
> From: Li Nan <linan122@xxxxxxxxxx>
>
> Setting bio to NULL and checking 'if(!bio)' is redundant and looks strange,
> just consolidate them into one condition. There are no functional changes.
>
> Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> Signed-off-by: Li Nan <linan122@xxxxxxxxxx>

Applied v2 to md-6.11. Thanks!

Song