summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/inodelk.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/inodelk.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/inodelk.c')
-rw-r--r--xlators/features/locks/src/inodelk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/locks/src/inodelk.c b/xlators/features/locks/src/inodelk.c
index 64028d079..f8afe6ab5 100644
--- a/xlators/features/locks/src/inodelk.c
+++ b/xlators/features/locks/src/inodelk.c
@@ -370,7 +370,7 @@ grant_blocked_inode_locks (xlator_t *this, pl_inode_t *pl_inode, pl_dom_list_t *
/* Release all inodelks from this transport */
static int
release_inode_locks_of_transport (xlator_t *this, pl_dom_list_t *dom,
- inode_t *inode, transport_t *trans)
+ inode_t *inode, void *trans)
{
pl_inode_lock_t *tmp = NULL;
pl_inode_lock_t *l = NULL;
@@ -509,7 +509,7 @@ out:
/* Create a new inode_lock_t */
pl_inode_lock_t *
-new_inode_lock (struct flock *flock, transport_t *transport, pid_t client_pid,
+new_inode_lock (struct flock *flock, void *transport, pid_t client_pid,
uint64_t owner, const char *volume)
{
@@ -550,7 +550,7 @@ pl_common_inodelk (call_frame_t *frame, xlator_t *this,
int32_t op_errno = 0;
int ret = -1;
int can_block = 0;
- transport_t * transport = NULL;
+ void * transport = NULL;
pid_t client_pid = -1;
uint64_t owner = -1;
pl_inode_t * pinode = NULL;