Re: [PATCH 1/9] block: fix data loss and stale date exposure problems during append write
From: Stephen Zhang
Date: Sat Nov 22 2025 - 02:09:15 EST
Johannes Thumshirn <Johannes.Thumshirn@xxxxxxx> 于2025年11月21日周五 17:35写道:
>
> On 11/21/25 9:19 AM, zhangshida wrote:
> > From: Shida Zhang <zhangshida@xxxxxxxxxx>
> >
> > Signed-off-by: Shida Zhang <zhangshida@xxxxxxxxxx>
>
>
> Regardless of the code change, this needs documentation what you are
> doing and why it is correct
>
Okay, will do that if I can get the chance to make a v2 version.
Thanks,
Shida
> > ---
> > block/bio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/block/bio.c b/block/bio.c
> > index b3a79285c27..55c2c1a0020 100644
> > --- a/block/bio.c
> > +++ b/block/bio.c
> > @@ -322,7 +322,7 @@ static struct bio *__bio_chain_endio(struct bio *bio)
> >
> > static void bio_chain_endio(struct bio *bio)
> > {
> > - bio_endio(__bio_chain_endio(bio));
> > + bio_endio(bio);
> > }
> >
> > /**
>
>