From: Hannes Reinecke <hare@suse.de
Subject: Compile warning in dm-least-pending
Patch-Mainline: No

Bitrot has set in in dm-least-pending. Fix it up.

Signed-off-by: Hannes Reinecke <hare@suse.de>

diff --git a/drivers/md/dm-least-pending.c b/drivers/md/dm-least-pending.c
index 76659ca..279bfdf 100644
--- a/drivers/md/dm-least-pending.c
+++ b/drivers/md/dm-least-pending.c
@@ -172,7 +172,7 @@ static int lpp_reinstate_path(struct path_selector *ps, struct dm_path *p)
 }
 
 static struct dm_path *lpp_select_path(struct path_selector *ps,
-					unsigned *repeat_count)
+				       unsigned *repeat_count, size_t nr_bytes)
 {
        struct selector *s = ps->context;
        struct path_info *pi, *next, *least_io_path = NULL;
@@ -199,7 +199,8 @@ static struct dm_path *lpp_select_path(struct path_selector *ps,
        return least_io_path->path;
 }
 
-static int lpp_end_io(struct path_selector *ps, struct dm_path *path)
+static int lpp_end_io(struct path_selector *ps, struct dm_path *path,
+		      size_t nr_bytes)
 {
        struct path_info *pi = NULL;
 
