commit | 01376f4495840f3daf6d73679242b5964fc9603b | [log] [tgz] |
---|---|---|
author | Horst Hummel <horst.hummel@de.ibm.com> | Mon Dec 04 15:39:50 2006 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Dec 04 15:39:50 2006 +0100 |
tree | 51ef99991b42d6c623e5f1be980ff04026cc3ebb | |
parent | 26916264c17b5af8a3eaaf83b128f85cf1107cff [diff] |
[S390] handle incorrect values when writing to dasd sysfs attributes. 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>