]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 10 Sep 2012 07:54:31 +0000 (09:54 +0200)
commit9c02ef8a658b484d758eeacae429efcd3ac7db26
tree4add989e0c48fee54fca737962f99e1d8676bba4
parenta1d13e723eb06bf6f35fd30bbbbf9b5b4d0641ea
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