[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCH] dm-table.c : Fix __LOW macro



Fix __LOW macro.

--- linux-2.5.56a/drivers/md/dm-table.c	2002/12/30 15:25:20
+++ linux-2.5.56b/drivers/md/dm-table.c	2003/01/10 21:30:38
@@ -79,7 +79,7 @@
 }
 
 #define __HIGH(l, r) if (*(l) < (r)) *(l) = (r)
-#define __LOW(l, r) if (*(l) < (r)) *(l) = (r)
+#define __LOW(l, r) if (*(l) > (r)) *(l) = (r)
 
 /*
  * Combine two io_restrictions, always taking the lower value.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]