block: Set BIO_TRACE_COMPLETION on new bio during split
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Tue, 23 Jan 2018 16:10:19 +0000 (09:10 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Jan 2018 16:10:19 +0000 (09:10 -0700)
commit20d59023c5ec4426284af492808bcea1f39787ef
treec47ccfe4a3b59d72496faa67e3fd7f466bd23a29
parent475a055e62a1eb92f4358ad8a9059df973c190ac
block: Set BIO_TRACE_COMPLETION on new bio during split

We inadvertently set it again on the source bio, but we need
to set it on the new split bio instead.

Fixes: fbbaf700e7b1 ("block: trace completion of all bios.")
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c