Re: floppy regression from "[PATCH] fix floppy.c to store correct ..."

Jon Masters
2005-11-16T11:22:56Z

On 11/16/05, Andrew Morton <akpm@osdl.org> wrote:

> hmm, yes, when floppy_open() does its test we haven't yet gone and
> determined the state of FD_DISK_WRITABLE. On later opens, we
> have done, so things work OK.

I'll fix this later on today.

> We may be able to do the test at the end of floppy_open(), after
> check_disk_change() has called floppy_revalidate(). But for
> O_NDELAY opens we appear to be screwed.

Give me a few hours to take a look at it. I'll move the test and look
at the latter case and get back to you.

Jon.