2002-01-13 18:46:47

by Luc Van Oostenryck

[permalink] [raw]
Subject: [PATCH]: fix-up ide-floppy in 2.5.2-preX

Here is a patch for a bug introduced probably in 2.5.2-pre1.
The patch apply against 2.5.2-pre11.

diff -ur linux-2.5.2-pre11/drivers/ide/ide-floppy.c
linux/drivers/ide/ide-floppy.c
--- linux-2.5.2-pre11/drivers/ide/ide-floppy.c Sat Jan 12 22:09:48 2002
+++ linux/drivers/ide/ide-floppy.c Sun Jan 13 17:47:27 2002
@@ -680,7 +680,7 @@
/* Why does this happen? */
if (!rq)
return;
- if (rq->flags & IDEFLOPPY_RQ) {
+ if (!(rq->flags & IDEFLOPPY_RQ)) {
ide_end_request (uptodate, hwgroup);
return;
}

--
Luc Van Oostenryck