]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[PATCH] sysfs: (driver/block) if show/store is missing return -EIO
authorDmitry Torokhov <dtor_core@ameritech.net>
Fri, 29 Apr 2005 06:26:06 +0000 (01:26 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:03 +0000 (15:15 -0700)
commit6c1852a08e444a2e66367352a99c0e93c8bf3e97
treeffa075f75b7eb0e5b1399aeb8e34e6cf9a631a10
parentfc7e4828995d8c9e4c9597f8a19179e4ab53f73e
[PATCH] sysfs: (driver/block) if show/store is missing return -EIO

sysfs: fix drivers/block so if an attribute doesn't implement
       show or store method read/write will return -EIO
       instead of 0 or -EINVAL.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/as-iosched.c
drivers/block/cfq-iosched.c
drivers/block/deadline-iosched.c
drivers/block/genhd.c
drivers/block/ll_rw_blk.c