diff options
| author | Vijay Bellur <vijay@gluster.com> | 2010-07-12 08:19:44 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-12 06:59:29 -0700 | 
| commit | 6ef7f0e25fb7c76231b4d4ae05cbc45330de300d (patch) | |
| tree | 6e5b8537dfbee8b7d8e51cdbb62af1d9d0f31a35 /cli/src/cli.c | |
| parent | 9bee476eabb5034a27e994008a12ef684755d76c (diff) | |
Changes in CLI and glusterd
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'cli/src/cli.c')
| -rw-r--r-- | cli/src/cli.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index f899fbb72b8..96261de63ca 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -249,9 +249,9 @@ logging_init (glusterfs_ctx_t *ctx)  }  int -cli_submit_request (void *req, call_frame_t *frame,  -                    rpc_clnt_prog_t *prog,  -                    int procnum, struct iobref *iobref,  +cli_submit_request (void *req, call_frame_t *frame, +                    rpc_clnt_prog_t *prog, +                    int procnum, struct iobref *iobref,                      cli_serialize_t sfunc, xlator_t *this,                      fop_cbk_fn_t cbkfn)  { @@ -295,8 +295,8 @@ cli_submit_request (void *req, call_frame_t *frame,          }          /* Send the msg */ -        ret = rpc_clnt_submit (global_rpc, prog, procnum, cbkfn,  -                               &iov, count,  +        ret = rpc_clnt_submit (global_rpc, prog, procnum, cbkfn, +                               &iov, count,                                 NULL, 0, iobref, frame);          if (ret == 0) { @@ -395,7 +395,7 @@ cli_rpc_init (struct cli_state *state)          options = dict_new ();          if (!options)                  goto out; -         +          ret = dict_set_str (options, "remote-host", "localhost");          if (ret)                  goto out;  | 
