[S390] hypfs: Use subcode 6 if subcode 7 is not available
commit7874b1b66a53c4d9c8dcb37884cbb758aa2d712c
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 14 Oct 2009 10:43:44 +0000 (14 12:43 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 14 Oct 2009 10:43:52 +0000 (14 12:43 +0200)
treee63c5db7cd73c098d209b2a156256619d4322cee
parent80f506918fdaaca6b574ba931536a58ce015c7be
[S390] hypfs: Use subcode 6 if subcode 7 is not available

Hypfs never worked on systems that only provide D204 subcode 6.
In these cases we nevertheless used subcode 7. With this fix, we
use subcode 6, if it is available and the system does not provide
subcode 7.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/hypfs/hypfs_diag.c