]> 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)
commitafae68e41f676698327890bd63f768ae73a9666b
tree17e2563bddcdd120457e6628a631e6bee7b437f3
parentce7d7a9d62f281bf4dcf8f1abc46e7c76657e7a7
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