[S390] handle incorrect values when writing to dasd sysfs attributes.
authorHorst Hummel <horst.hummel@de.ibm.com>
Mon, 4 Dec 2006 14:39:50 +0000 (15:39 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:39:50 +0000 (15:39 +0100)
When writing to dasd attributes (e.g. readonly), all values besides '1'
are handled like '0'.
Other sysfs-attributes like 'online' are checking for '1' and for '0'
and do not accept other values. Therefore enhanced checking and error
handling in dasd_devmap attribute store functions.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found