diff options
Diffstat (limited to 'api')
| -rw-r--r-- | api/src/glfs-internal.h | 1 | ||||
| -rw-r--r-- | api/src/glfs-mgmt.c | 2 | 
2 files changed, 1 insertions, 2 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index ff8ace9cbb8..7e26a48eea5 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -249,7 +249,6 @@ int glfs_first_lookup (xlator_t *subvol);  void glfs_process_upcall_event (struct glfs *fs, void *data)          GFAPI_PRIVATE(glfs_process_upcall_event, 3.7.0); -#define DECLARE_OLD_THIS xlator_t *old_THIS = NULL  #define __GLFS_ENTRY_VALIDATE_FS(fs, label)                         \  do {                                                                \ diff --git a/api/src/glfs-mgmt.c b/api/src/glfs-mgmt.c index d69c3fc1883..48fd618ff68 100644 --- a/api/src/glfs-mgmt.c +++ b/api/src/glfs-mgmt.c @@ -863,7 +863,7 @@ glfs_mgmt_init (struct glfs *fs)  	if (ret)  		goto out; -	rpc = rpc_clnt_new (options, ctx, THIS->name, 8); +	rpc = rpc_clnt_new (options, THIS, THIS->name, 8);  	if (!rpc) {  		ret = -1;  		gf_msg (THIS->name, GF_LOG_WARNING, 0,  | 
