dm: pass dm_io instance to dm_io_acct directly
authorMing Lei <ming.lei@redhat.com>
Tue, 12 Apr 2022 08:56:11 +0000 (16:56 +0800)
committerMike Snitzer <snitzer@kernel.org>
Thu, 5 May 2022 21:31:35 +0000 (17:31 -0400)
commite6926ad0c988d4cf8d4f4ec77373572831149104
tree17e2563bddcdd120457e6628a631e6bee7b437f3
parentb992b40dfcc1d904e5040c34c5edde3bbc83f60b
dm: pass dm_io instance to dm_io_acct directly

All the other 4 parameters are retrieved from the 'dm_io' instance, so
it's not necessary to pass all four to dm_io_acct().

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