summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2017-01-20 15:27:24 -0500
committerKaleb KEITHLEY <kkeithle@redhat.com>2017-01-24 05:42:07 -0500
commite549df2c0d8b5dbfa6e9c129109185aaf4cea11d (patch)
tree10ee5e9f90290b73070d6abe3a9f177f69721304 /api/src/glfs.c
parent71b3664c5d740f931759b99adfb41e6d2abf5ea3 (diff)
libgfapi: remove/revert glfs_ipc() changes targeted for 4.0
revert glfs_ipc() to 3.7.0 signature and associated symbol versioning Change-Id: Ieffe1d966234652091a4a9ae0b2c4b23f1297147 BUG: 1415279 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: https://review.gluster.org/16450 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r--api/src/glfs.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c
index 4375774a853..4559707c4e1 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -1323,7 +1323,7 @@ invalid_fs:
GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_get_volfile, 3.6.0);
int
-pub_glfs_ipc (struct glfs *fs, int opcode, void *xd_in, void **xd_out)
+pub_glfs_ipc (struct glfs *fs, int opcode)
{
xlator_t *subvol = NULL;
int ret = -1;
@@ -1338,7 +1338,7 @@ pub_glfs_ipc (struct glfs *fs, int opcode, void *xd_in, void **xd_out)
goto out;
}
- ret = syncop_ipc (subvol, opcode, (dict_t *) xd_in, (dict_t **) xd_out);
+ ret = syncop_ipc (subvol, opcode, NULL, NULL);
DECODE_SYNCOP_ERR (ret);
out:
@@ -1349,16 +1349,7 @@ invalid_fs:
return ret;
}
-GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_ipc, 4.0.0);
-
-int
-pub_glfs_ipc37 (struct glfs *fs, int opcode)
-{
- return pub_glfs_ipc (fs, opcode, NULL, NULL);
-}
-
-GFAPI_SYMVER_PUBLIC(glfs_ipc37, glfs_ipc, 3.7.0);
-
+GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_ipc, 3.7.0);
void
pub_glfs_free (void *ptr)