[Devel] [PATCH RHEL8 COMMIT] push-backup: Change arguments order in start
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jul 7 12:02:51 MSK 2021
The commit is pushed to "branch-rh8-4.18.0-240.1.1.vz8.5.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-240.1.1.vz8.5.52
------>
commit cde502d7e65f688f97d6217ebf91f3e4268a87b4
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date: Wed Jul 7 12:02:50 2021 +0300
push-backup: Change arguments order in start
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
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;
More information about the Devel
mailing list