]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: retry partition detection
authorStefan Haberland <stefan.haberland@de.ibm.com>
Mon, 24 Nov 2014 14:04:09 +0000 (15:04 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 28 Nov 2014 08:47:42 +0000 (09:47 +0100)
commit6ebdf1c79d09ad3d65c714a79db0a0c141a013ba
treefd9d6e09519f82f7035eb636f7fd8bcefc4b6741
parent932f0549f872cde022eed200910ee3291b1d3c69
s390/dasd: retry partition detection

In case somebody attempted to open the device during online
processing the partition detection ioctl may have failed.

Added a retry loop to avoid not detected partitions.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_genhd.c