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)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:12:06 +0000 (13:12 +0000)
commit744ad30c44b540e469cdd4a191e5416901987b25
treeb444dcdc2830ebed371a1badf4dd1bbd0a549ac5
parented8126e9ebf836421bdc0a63acaaf92727f663d3
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/block/dasd_alias.c