From 72ca9bdf90c45ff3f4bad3d2de934101dfaca4ff Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 4 May 2010 00:35:36 +0000 Subject: 'features/locks': remove all reference to 'transport_t' Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati 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 --- xlators/features/locks/src/inodelk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/features/locks/src/inodelk.c') diff --git a/xlators/features/locks/src/inodelk.c b/xlators/features/locks/src/inodelk.c index 64028d079c3..f8afe6ab56e 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; -- cgit