summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/locks.h
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/locks.h
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/locks.h')
-rw-r--r--xlators/features/locks/src/locks.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h
index 01764484a0c..60474615e5f 100644
--- a/xlators/features/locks/src/locks.h
+++ b/xlators/features/locks/src/locks.h
@@ -26,7 +26,6 @@
#endif
#include "compat-errno.h"
-#include "transport.h"
#include "stack.h"
#include "call-stub.h"
#include "locks-mem-types.h"
@@ -50,7 +49,7 @@ struct __posix_lock {
/* These two together serve to uniquely identify each process
across nodes */
- transport_t *transport; /* to identify client node */
+ void *transport; /* to identify client node */
pid_t client_pid; /* pid of client process */
uint64_t owner; /* lock owner from fuse */
};
@@ -75,7 +74,7 @@ struct __pl_inode_lock {
/* These two together serve to uniquely identify each process
across nodes */
- transport_t *transport; /* to identify client node */
+ void *transport; /* to identify client node */
pid_t client_pid; /* pid of client process */
uint64_t owner;
};
@@ -110,7 +109,7 @@ struct __entry_lock {
const char *basename;
entrylk_type type;
- transport_t *trans;
+ void *trans;
pid_t client_pid; /* pid of client process */
uint64_t owner;
};