summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/gfapi.aliases2
-rw-r--r--api/src/gfapi.map5
-rw-r--r--api/src/glfs.c14
3 files changed, 3 insertions, 18 deletions
diff --git a/api/src/gfapi.aliases b/api/src/gfapi.aliases
index 74ef4d3442d..c1331b9d582 100644
--- a/api/src/gfapi.aliases
+++ b/api/src/gfapi.aliases
@@ -154,5 +154,3 @@ _pub_glfs_upcall_inode_get_pstat _glfs_upcall_inode_get_pstat$GFAPI_3.7.16
_pub_glfs_upcall_inode_get_oldpobject _glfs_upcall_inode_get_oldpobject$GFAPI_3.7.16
_pub_glfs_upcall_inode_get_oldpstat _glfs_upcall_inode_get_oldpstat$GFAPI_3.7.16
_pub_glfs_realpath _glfs_realpath$GFAPI_3.7.17
-
-_pub_glfs_ipc _glfs_ipc$GFAPI_4.0.0
diff --git a/api/src/gfapi.map b/api/src/gfapi.map
index 1ae6d4665fc..f7c0918fb13 100644
--- a/api/src/gfapi.map
+++ b/api/src/gfapi.map
@@ -192,8 +192,3 @@ GFAPI_3.7.17 {
global:
glfs_realpath;
} GFAPI_3.7.16;
-
-GFAPI_4.0.0 {
- global:
- glfs_ipc;
-} GFAPI_3.7.16;
diff --git a/api/src/glfs.c b/api/src/glfs.c
index a9d56071743..641ab1beb66 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -1325,7 +1325,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;
@@ -1340,7 +1340,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:
@@ -1351,15 +1351,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