summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/posix.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/posix.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/posix.c')
-rw-r--r--xlators/features/locks/src/posix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 83b3eb34039..6e5ea94f87b 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -76,7 +76,7 @@ pl_truncate_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
static int
truncate_allowed (pl_inode_t *pl_inode,
- transport_t *transport, pid_t client_pid,
+ void *transport, pid_t client_pid,
uint64_t owner, off_t offset)
{
posix_lock_t *l = NULL;
@@ -277,7 +277,7 @@ delete_locks_of_fd (xlator_t *this, pl_inode_t *pl_inode, fd_t *fd)
static void
__delete_locks_of_owner (pl_inode_t *pl_inode,
- transport_t *transport, uint64_t owner)
+ void *transport, uint64_t owner)
{
posix_lock_t *tmp = NULL;
posix_lock_t *l = NULL;
@@ -748,7 +748,7 @@ int
pl_lk (call_frame_t *frame, xlator_t *this,
fd_t *fd, int32_t cmd, struct flock *flock)
{
- transport_t *transport = NULL;
+ void *transport = NULL;
pid_t client_pid = 0;
uint64_t owner = 0;
posix_locks_private_t *priv = NULL;