lkml.org 
[lkml]   [2021]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] block: fix trace completion for chained bio
On Wed, Jun 16, 2021 at 11:08:10AM +0800, edwardh wrote:
> @@ -1400,18 +1404,13 @@ void bio_endio(struct bio *bio)
> if (bio->bi_end_io == bio_chain_endio) {
> bio = __bio_chain_endio(bio);
> goto again;
> + } else {
> + blk_throtl_bio_endio(bio);
> + /* release cgroup info */
> + bio_uninit(bio);
> + if (bio->bi_end_io)
> + bio->bi_end_io(bio);

No need for an else after a goto.

\
 
 \ /
  Last update: 2021-06-16 06:54    [W:0.050 / U:1.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site