diff options
author | Horst Hummel <horst.hummel@de.ibm.com> | 2006-12-04 15:39:50 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-12-04 15:39:50 +0100 |
commit | 01376f4495840f3daf6d73679242b5964fc9603b (patch) | |
tree | 51ef99991b42d6c623e5f1be980ff04026cc3ebb /kernel/rwsem.c | |
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>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions