]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sysfs: if show/store is missing return -EIO
authorDmitry Torokhov <dtor_core@ameritech.net>
Fri, 29 Apr 2005 06:22:00 +0000 (01:22 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:02 +0000 (15:15 -0700)
commit6a43822d20bc0112c05a1dac4dac509c2c6ba839
treec5f3c752031dfb8b7c5a624d06b129661eec5665
parent37c6352e6995efba817f33d6a600d1dfedaf5b75
[PATCH] sysfs: if show/store is missing return -EIO

sysfs: if attribute does not implement show or store method
       read/write should return -EIO instead of 0 or -EINVAL.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/bin.c
fs/sysfs/file.c