From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [PATCH] Block on access to temporarily unavailable pci device Date: Wed, 18 Oct 2006 17:42:13 +0100 Message-ID: <1161189733.9363.85.camel@localhost.localdomain> References: <1161187503.9363.75.camel@localhost.localdomain> <20061018160926.GS22289@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20061018160926.GS22289@parisc-linux.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Matthew Wilcox Cc: Brian King , linux-pci@atrey.karlin.mff.cuni.cz, linux-pm@lists.osdl.org, linux-kernel@vger.kernel.org, Adam Belay List-Id: linux-pm@vger.kernel.org Ar Mer, 2006-10-18 am 10:09 -0600, ysgrifennodd Matthew Wilcox: > On Wed, Oct 18, 2006 at 05:05:02PM +0100, Alan Cox wrote: > > If the user specified O_NDELAY then -EWOULDBLOCK not wait > = > sysfs doesn't give us the struct file, so we can't tell. I'm all for fixing sysfs on that point so that it can behave sensibly.