diff options
author | Kaleb S KEITHLEY <kkeithle@redhat.com> | 2016-06-13 10:56:56 -0400 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-06-13 11:58:22 -0700 |
commit | f4e5841eb6f132174e65ccad91fd2f6021771f29 (patch) | |
tree | 8c4009189d88705ad7c9068c7d28cd3b9704f76c /api/src/glfs.c | |
parent | 1364929574c1af7784ac47088d2f7507ee0103e4 (diff) |
api: revert addition of glfs_ipc_xd()
It is intended for 4.0
Change-Id: Ieffe1d966234652091a4a9ae0b2c4b23f1297147
BUG: 1345977
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/14716
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r-- | api/src/glfs.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index 3f39b682e42..ee744872e22 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -1279,7 +1279,7 @@ invalid_fs: GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_get_volfile, 3.6.0); int -pub_glfs_ipc_xd (struct glfs *fs, int opcode, dict_t *xd_in, dict_t **xd_out) +pub_glfs_ipc (struct glfs *fs, int opcode) { xlator_t *subvol = NULL; int ret = -1; @@ -1294,7 +1294,7 @@ pub_glfs_ipc_xd (struct glfs *fs, int opcode, dict_t *xd_in, dict_t **xd_out) goto out; } - ret = syncop_ipc (subvol, opcode, xd_in, xd_out); + ret = syncop_ipc (subvol, opcode, NULL, NULL); DECODE_SYNCOP_ERR (ret); out: @@ -1305,12 +1305,4 @@ invalid_fs: return ret; } -GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_ipc_xd, 4.0.0); - -int -pub_glfs_ipc (struct glfs *fs, int opcode) -{ - return pub_glfs_ipc_xd (fs, opcode, NULL, NULL); -} - GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_ipc, 3.7.0); |