Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

vps_configure(): remove op argument

It is not needed and meaningless.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
  • Loading branch information...
commit 3ca3848969cdca66d1806c1f12a0127532e9ce8c 1 parent 1a9853a
@kolyshkin kolyshkin authored
View
2  include/vps_configure.h
@@ -31,7 +31,7 @@
int vps_pw_configure(vps_handler *h, envid_t veid, dist_actions *actions,
const char *root, list_head_t *pw);
int vps_configure(vps_handler *h, envid_t veid, dist_actions *actions,
- const char *root, int op, vps_param *param, int state);
+ const char *root, vps_param *param, int state);
int vps_ip_configure(vps_handler *h, envid_t veid, dist_actions *actions,
const char *root, int op, net_param *net, int state);
const char *state2str(int state);
View
2  src/lib/res.c
@@ -120,7 +120,7 @@ int vps_setup_res(vps_handler *h, envid_t veid, dist_actions *actions,
return ret;
if (!(skip & SKIP_CONFIGURE))
- vps_configure(h, veid, actions, fs->root, ADD, param, vps_state);
+ vps_configure(h, veid, actions, fs->root, param, vps_state);
/* Setup quota limits after configure steps */
if ((ret = vps_set_quota(veid, &res->dq)))
return ret;
View
2  src/lib/vps_configure.c
@@ -303,7 +303,7 @@ int vps_ip_configure(vps_handler *h, envid_t veid, dist_actions *actions,
int vps_configure(vps_handler *h, envid_t veid, dist_actions *actions,
- const char *root, int op, vps_param *param, int state)
+ const char *root, vps_param *param, int state)
{
int ret;
vps_res *res = &param->res;
Please sign in to comment.
Something went wrong with that request. Please try again.