From: Horst Hummel Date: Mon, 4 Dec 2006 14:39:50 +0000 (+0100) Subject: [S390] handle incorrect values when writing to dasd sysfs attributes. X-Git-Tag: v2.6.20-rc2~6^2~13^2~20^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01376f4495840f3daf6d73679242b5964fc9603b;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed