s390/dasd: fix refcount for PAV reassignment
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 15 Dec 2015 09:45:05 +0000 (10:45 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 1 Apr 2016 00:54:32 +0000 (01:54 +0100)
commit0b22bde0ff73aef631e0715d0e4dd957995cbd70
tree9665efd0f1adb703ce16835b0fa1f2d4ea82c07f
parent809216deaa2c3e3212a1f3d07cf1f102569fa698
s390/dasd: fix refcount for PAV reassignment

commit 9d862ababb609439c5d6987f6d3ddd09e703aa0b upstream.

Add refcount to the DASD device when a summary unit check worker is
scheduled. This prevents that the device is set offline with worker
in place.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/s390/block/dasd_alias.c