]> 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)
commit2067eeca456b61be2e4d8638d8672d6ec88f4491
tree3a93174a5b16cc5e5d5791987106a163da67771a
parentcabe2d2ae6aace537ef92b075fb998ceeaf93e43
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