dm: simplify __process_abnormal_io()
authorMike Snitzer <snitzer@redhat.com>
Wed, 16 Sep 2020 01:56:29 +0000 (21:56 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 29 Sep 2020 20:33:05 +0000 (16:33 -0400)
commit9679b5a7ec400f18f1812339b59c94750db48a76
tree16131362cf80e7b44087173ea81b774c972bfb6c
parent828678b87eff06a4fff1e13e8b107287d522ed30
dm: simplify __process_abnormal_io()

Only call bio_op() once in switch statement.  Also remove the
excessive factoring out to one line functions.

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