s390/dasd: fix refcount for PAV reassignment

commit 9d862ababb 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Stefan Haberland 2015-12-15 10:45:05 +01:00 • committed by Greg Kroah-Hartman
commit 2e80d52bc8