Blackfin: fix cache Kconfig typo
[safe/jmp/linux-2.6] / drivers / md / dm-round-robin.c
index a348a97..24752f4 100644 (file)
@@ -9,7 +9,8 @@
  * Round-robin path selector.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
+
 #include "dm-path-selector.h"
 
 #include <linux/slab.h>
@@ -160,7 +161,7 @@ static int rr_reinstate_path(struct path_selector *ps, struct dm_path *p)
 }
 
 static struct dm_path *rr_select_path(struct path_selector *ps,
-                                  unsigned *repeat_count)
+                                     unsigned *repeat_count, size_t nr_bytes)
 {
        struct selector *s = (struct selector *) ps->context;
        struct path_info *pi = NULL;
@@ -205,7 +206,7 @@ static void __exit dm_rr_exit(void)
        int r = dm_unregister_path_selector(&rr_ps);
 
        if (r < 0)
-               DMERR("round-robin: unregister failed %d", r);
+               DMERR("unregister failed %d", r);
 }
 
 module_init(dm_rr_init);