[dm-devel] [PATCH] dm-table.c : Fix __LOW macro
Kevin Corry
corryk at us.ibm.com
Fri Jan 10 16:26:02 UTC 2003
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.
More information about the dm-devel
mailing list