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

Jon Masters
2005-11-23T04:47:08Z

On 11/22/05, Andrew Morton <akpm@osdl.org> wrote:
> Jon Masters <jonmasters@gmail.com> wrote:

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

> > > That still does the wrong thing. Put in a write-protected floppy, try to
> > > write to it and it says -EROFS. Then pop the WP switch and try to
> > > write to it again and it wrongly claims EPERM. A second attempt to
> > > write will succeed.

> > The problem is that we need to wait until the floppy driver next
> > checks the read status on the drive. I think to get it completely
> > right will take moving bits of the floppy driver around, unless I'm
> > being stupid. I'm planning to do that too though.

> In the meanwhile I think we should revert back to the 2.6.14 version of
> floppy.c - the present problem is probably worse than the one which it
> kinda-fixes.

Ok, as you please. It's probably going to take something much more
ugly to make this work with things as they stand - I'll get something
out at the weekend.

Jon.