Signed-off-by: Kirill Tkhai <[email protected]>
---
 drivers/md/dm-push-backup.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/md/dm-push-backup.c b/drivers/md/dm-push-backup.c
index 59622efca008..32699dd34bd1 100644
--- a/drivers/md/dm-push-backup.c
+++ b/drivers/md/dm-push-backup.c
@@ -339,8 +339,8 @@ static int setup_pb(struct push_backup *pb, void __user 
*mask, int timeout)
        return -EFAULT;
 }
 
-static int push_backup_start(struct push_backup *pb,
-                            void __user *mask, u64 timeout)
+static int push_backup_start(struct push_backup *pb, u64 timeout,
+                            void __user *mask)
 {
        if (pb->alive)
                return -EEXIST;
@@ -533,7 +533,7 @@ static int pb_message(struct dm_target *ti, unsigned int 
argc, char **argv,
                if (argc != 3 || kstrtou64(argv[1], 10, &val) < 0 ||
                                 kstrtou64(argv[2], 10, &val2) < 0)
                        goto unlock;
-               ret = push_backup_start(pb, (void *)val, val2);
+               ret = push_backup_start(pb, val, (void *)val2);
        } else if (!strcmp(argv[0], "push_backup_stop")) {
                if (argc != 1)
                        goto unlock;


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to