Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Nov 2002 12:22:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Nov 2002 12:22:32 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.101]:53934 "EHLO e1.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Wed, 20 Nov 2002 12:22:31 -0500 Subject: Re: writing to sysfs appears to hang From: Paul Larson To: Jens Axboe Cc: lkml , davej@codemonkey.org.uk In-Reply-To: <20021119170205.GC11884@suse.de> References: <1037401217.11295.145.camel@plars> <20021116004723.GB3153@beaverton.ibm.com> <20021119170205.GC11884@suse.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MWtVgRkHHwCjTCOFmRUU" X-Mailer: Ximian Evolution 1.0.5 Date: 20 Nov 2002 11:24:22 -0600 Message-Id: <1037813063.24031.32.camel@plars> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1367 Lines: 46 --=-MWtVgRkHHwCjTCOFmRUU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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). >=20 > =3D=3D=3D=3D=3D fs/sysfs/inode.c 1.59 vs edited =3D=3D=3D=3D=3D > --- 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 =3D kobj->subsys->sysfs_ops; > if (!ops || !ops->store) > - return 0; > + return -EINVAL; > =20 > page =3D (char *)__get_free_page(GFP_KERNEL); > if (!page) No effect, the behaviour is still the same for me. -Paul Larson --=-MWtVgRkHHwCjTCOFmRUU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEABECAAYFAj3bxUYACgkQbkpggQiFDqfRoACfURPk2llxquDXRMj3rnAxYjeY QQoAn1aOObkIv600h677cR0Zc5x9Px4u =ODc2 -----END PGP SIGNATURE----- --=-MWtVgRkHHwCjTCOFmRUU-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/