lkml.org 
[lkml]   [2002]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: writing to sysfs appears to hang
From
Date
On Tue, 2002-11-19 at 11:02, Jens Axboe wrote:
> This has been in the deadline-rbtree patches for some time (uses writes
> to sysfs, too).
>
> ===== fs/sysfs/inode.c 1.59 vs edited =====
> --- 1.59/fs/sysfs/inode.c Wed Oct 30 21:27:35 2002
> +++ edited/fs/sysfs/inode.c Fri Nov 8 14:33:59 2002
> @@ -243,7 +243,7 @@
> if (kobj && kobj->subsys)
> ops = kobj->subsys->sysfs_ops;
> if (!ops || !ops->store)
> - return 0;
> + return -EINVAL;
>
> page = (char *)__get_free_page(GFP_KERNEL);
> if (!page)

No effect, the behaviour is still the same for me.

-Paul Larson
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.544 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site