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

Luc Van Oostenryck (luc.vanoostenryck@easynet.be)
Sun, 13 Jan 2002 19:45:37 +0100


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/