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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 09:02:10 +0000 (11:02 +0200)
commitc6c6e38aeff2b4131de2718a993d07995844dcc8
treee6ba22bbdeeea8af11fad69e947807f67e5ae259
parentf2e73df302f31b588086b6eb5a4151b196faf427
block: Set BIO_TRACE_COMPLETION on new bio during split

[ Upstream commit 20d59023c5ec4426284af492808bcea1f39787ef ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/bio.c