summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/entrylk.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-05-04 00:35:36 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-03 23:39:55 -0700
commit72ca9bdf90c45ff3f4bad3d2de934101dfaca4ff (patch)
tree84839e80a971ce0ca88185ac8abe58641b02878e /xlators/features/locks/src/entrylk.c
parentc8a0827765e78b285ca50cb26ab1dca620e3bfe1 (diff)
'features/locks': remove all reference to 'transport_t'
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/features/locks/src/entrylk.c')
-rw-r--r--xlators/features/locks/src/entrylk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c
index e4b9bb5687e..f7961be95ea 100644
--- a/xlators/features/locks/src/entrylk.c
+++ b/xlators/features/locks/src/entrylk.c
@@ -35,7 +35,7 @@
static pl_entry_lock_t *
new_entrylk_lock (pl_inode_t *pinode, const char *basename, entrylk_type type,
- transport_t *trans, pid_t client_pid, uint64_t owner, const char *volume)
+ void *trans, pid_t client_pid, uint64_t owner, const char *volume)
{
pl_entry_lock_t *newlock = NULL;
@@ -318,7 +318,7 @@ __lock_name (pl_inode_t *pinode, const char *basename, entrylk_type type,
{
pl_entry_lock_t *lock = NULL;
pl_entry_lock_t *conf = NULL;
- transport_t *trans = NULL;
+ void *trans = NULL;
pid_t client_pid = 0;
uint64_t owner = 0;
@@ -508,7 +508,7 @@ grant_blocked_entry_locks (xlator_t *this, pl_inode_t *pl_inode,
static int
release_entry_locks_for_transport (xlator_t *this, pl_inode_t *pinode,
- pl_dom_list_t *dom, transport_t *trans)
+ pl_dom_list_t *dom, void *trans)
{
pl_entry_lock_t *lock = NULL;
pl_entry_lock_t *tmp = NULL;
@@ -589,7 +589,7 @@ pl_common_entrylk (call_frame_t *frame, xlator_t *this,
int32_t op_ret = -1;
int32_t op_errno = 0;
- transport_t * transport = NULL;
+ void * transport = NULL;
pid_t pid = -1;
uint64_t owner = -1;