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

From: Luc Van Oostenryck (luc.vanoostenryck@easynet.be)
Date: Sun Jan 13 2002 - 13:45:37 EST


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/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:41 EST