From: Paul Larson <plars@linuxtestproject.org>
To: Jens Axboe <axboe@suse.de>
Cc: lkml <linux-kernel@vger.kernel.org>, davej@codemonkey.org.uk
Subject: Re: writing to sysfs appears to hang
Date: 20 Nov 2002 11:24:22 -0600 [thread overview]
Message-ID: <1037813063.24031.32.camel@plars> (raw)
In-Reply-To: <20021119170205.GC11884@suse.de>
[-- Attachment #1: Type: text/plain, Size: 602 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 240 bytes --]
next prev parent reply other threads:[~2002-11-20 17:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 23:00 writing to sysfs appears to hang Paul Larson
2002-11-16 0:47 ` Mike Anderson
2002-11-19 17:02 ` Jens Axboe
2002-11-20 17:24 ` Paul Larson [this message]
2002-11-20 19:14 ` Jens Axboe
2002-11-20 19:33 ` Patrick Mochel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1037813063.24031.32.camel@plars \
--to=plars@linuxtestproject.org \
--cc=axboe@suse.de \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox