]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: simplify __must_push_back
authorMike Snitzer <snitzer@redhat.com>
Tue, 26 May 2020 20:06:56 +0000 (16:06 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:55 +0000 (14:59 -0400)
commit13c3b94b28fa6e93b647922598b6bd97ebb01c80
tree3a93174a5b16cc5e5d5791987106a163da67771a
parent7cc84609d3720e03baf8246af3ecb4342a377105
dm mpath: simplify __must_push_back

Remove micro-optimization that infers device is between presuspend and
resume (was done purely to avoid call to dm_noflush_suspending, which
isn't expensive anyway).

Remove flags argument since they are no longer checked.

And remove must_push_back_bio() since it was simply a call to
__must_push_back().

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c