dm: fix the second dec_pending() argument in __split_and_process_bio()
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 9 Aug 2017 18:32:10 +0000 (11:32 -0700)
committerMike Snitzer <snitzer@redhat.com>
Mon, 28 Aug 2017 13:36:19 +0000 (09:36 -0400)
commit54385bf75cc6451f29f3a149582584d5015d2c98
treed317cf55cb7bd2bf59f66229085fe56d65d77e2e
parentcc4a41fe5541a73019a864883297bd5043aa6d98
dm: fix the second dec_pending() argument in __split_and_process_bio()

Detected by sparse.

Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c