diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-15 17:18:06 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2014-12-15 07:21:38 -0800 |
commit | 15edbff0a6a8c339c663717a821665f663d7c874 (patch) | |
tree | 66b8b7bf99448837699f16183d7d01079ac073c3 /api/src/glfs-mgmt.c | |
parent | 358576530c5503f251bc7f4c53cb04064a78aee6 (diff) |
gfapi: use different name for GETSPEC callback than the one used by glusterfsd
Change-Id: Ibd5be1e1080f9da4ac1fb9112538b3320ef2ff28
BUG: 1174205
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/9277
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'api/src/glfs-mgmt.c')
-rw-r--r-- | api/src/glfs-mgmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/src/glfs-mgmt.c b/api/src/glfs-mgmt.c index ea017f31af6..013be2333dd 100644 --- a/api/src/glfs-mgmt.c +++ b/api/src/glfs-mgmt.c @@ -478,8 +478,8 @@ glusterfs_oldvolfile_update (struct glfs *fs, char *volfile, ssize_t size) int -mgmt_getspec_cbk (struct rpc_req *req, struct iovec *iov, int count, - void *myframe) +glfs_mgmt_getspec_cbk (struct rpc_req *req, struct iovec *iov, int count, + void *myframe) { gf_getspec_rsp rsp = {0,}; call_frame_t *frame = NULL; @@ -660,7 +660,7 @@ glfs_volfile_fetch (struct glfs *fs) } ret = mgmt_submit_request (&req, frame, ctx, &clnt_handshake_prog, - GF_HNDSK_GETSPEC, mgmt_getspec_cbk, + GF_HNDSK_GETSPEC, glfs_mgmt_getspec_cbk, (xdrproc_t)xdr_gf_getspec_req); out: return ret; |