dm: don't pass bio to __dm_start_io_acct and dm_end_io_acct
authorMing Lei <ming.lei@redhat.com>
Tue, 12 Apr 2022 08:56:10 +0000 (16:56 +0800)
committerMike Snitzer <snitzer@kernel.org>
Thu, 5 May 2022 21:31:35 +0000 (17:31 -0400)
commitb992b40dfcc1d904e5040c34c5edde3bbc83f60b
tree15f67f613693da7c89e1726520fcfb29107a83aa
parentbdb34759a0dbc89c134c60d282b5f100bed1365f
dm: don't pass bio to __dm_start_io_acct and dm_end_io_acct

dm->orig_bio is always passed to __dm_start_io_acct and dm_end_io_acct,
so it isn't necessary to take one bio parameter for the two helpers.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm.c