blktrace: remove unnessary stop block trace in 'blk_trace_shutdown' block-6.1-2022-10-20
authorYe Bin <yebin10@huawei.com>
Wed, 19 Oct 2022 03:36:02 +0000 (11:36 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Oct 2022 13:02:52 +0000 (06:02 -0700)
commit2db96217e7e515071726ca4ec791742c4202a1b2
tree6794f4fbfafbefa6b2ddf6dbc6de0d6d36aa8465
parentdcd1a59c62dc49da75539213611156d6db50ab5d
blktrace: remove unnessary stop block trace in 'blk_trace_shutdown'

As previous commit, 'blk_trace_cleanup' will stop block trace if
block trace's state is 'Blktrace_running'.
So remove unnessary stop block trace in 'blk_trace_shutdown'.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221019033602.752383-4-yebin@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c