]> git.baikalelectronics.ru Git - kernel.git/commit
dm: simplify dm_start_io_acct
authorMike Snitzer <snitzer@kernel.org>
Fri, 25 Mar 2022 18:12:47 +0000 (14:12 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 5 May 2022 21:31:34 +0000 (17:31 -0400)
commit81336e82dcbfecb701befe1f0eb182d22989d699
tree7f9f9f10e9b34539382daa24b4f8404b09608283
parent49af45f37888b7ef5ed7d48657f5c64a22089b10
dm: simplify dm_start_io_acct

Pull common DM_IO_ACCOUNTED check out to beginning of dm_start_io_acct.
Also, use dm_tio_is_normal (and move it to dm-core.h).

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-core.h
drivers/md/dm.c