]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 4 Mar 2016 15:25:41 +0000 (10:25 -0500)
commit5ae3f5ad236f18bda2486bc557333427ec8a6797
tree8bcdcc0840a6233af37a5c844c50ebf4867cee75
parent2e35e9c4671925a7af5a2d3fe4f5f614e13a0d6d
s390/dasd: fix refcount for PAV reassignment

[ Upstream commit 9d862ababb609439c5d6987f6d3ddd09e703aa0b ]

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