]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8855689a4af4c9e628a0ef9471d9f2f330c4670f
tree17e2563bddcdd120457e6628a631e6bee7b437f3
parenta55d7866560aba75d8bd6ec63b4739185ebd6cc0
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