s390/dasd: fix refcount for PAV reassignment

[ Upstream commit 9d862ababb ]

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.

Cc: stable@vger.kernel.org
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Stefan Haberland 2015-12-15 10:45:05 +01:00 • committed by Sasha Levin
commit 5ae3f5ad23