s390/scm: use common completion path
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 15 Jun 2017 15:13:15 +0000 (17:13 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 Aug 2017 13:09:42 +0000 (09:09 -0400)
commita3c1a2194a7c776c08ad704cd8a3b3ea694c60e6
treed4dd56947221acb864d9ef6b213ab7421c4cb957
parent5db23179998ded72cb8f58a296c0e99716d7df5b
s390/scm: use common completion path

Since commit caf7df122721 ("block: remove the errors field from struct request")
rq->errors can't be (mis)used by block device drivers to store the error
condition for usage during async completion. Because of that I simply used
async completion only for the non-error paths.

This patch places the error within the private data of struct request and
uses async completion for all paths again.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/scm_blk.c