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)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 11 Feb 2016 12:05:55 +0000 (13:05 +0100)
commit9d862ababb609439c5d6987f6d3ddd09e703aa0b
tree5198aca73de28bec2bafc07ee718de557b31fb7e
parent020bf042e5b397479c1174081b935d0ff15d1a64
s390/dasd: fix refcount for PAV reassignment

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>
drivers/s390/block/dasd_alias.c