s390/scm: reorder scm_remove
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 4 Sep 2012 17:37:51 +0000 (19:37 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:10 +0000 (15:45 +0200)
commit24996edce547fd981c089db9a12717fd76a51160
tree3ee78f90357eb119b4731a5d88a80f7bbc54b282
parentc3e6d407c0c09fb46a391bdd0a28827472825de7
s390/scm: reorder scm_remove

Do not reset drvdata before the block device is cleaned up. With a
non-empty block queue drvdata could be accessed.

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