Re: [linux-pm] [PATCH] Block on access to temporarily unavailable pci device

Alan Cox
2006-10-18T16:45:40Z

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.