summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/lkowner.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/lkowner.h')
-rw-r--r--libglusterfs/src/lkowner.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/libglusterfs/src/lkowner.h b/libglusterfs/src/lkowner.h
index c3e16760869..b6a950f5e12 100644
--- a/libglusterfs/src/lkowner.h
+++ b/libglusterfs/src/lkowner.h
@@ -11,17 +11,7 @@
#ifndef _LK_OWNER_H
#define _LK_OWNER_H
-#define GF_MAX_LOCK_OWNER_LEN 1024 /* 1kB as per NLM */
-
-/* 16strings-16strings-... */
-#define GF_LKOWNER_BUF_SIZE ((GF_MAX_LOCK_OWNER_LEN * 2) + \
- (GF_MAX_LOCK_OWNER_LEN / 8))
-
-typedef struct gf_lkowner_ {
- int len;
- char data[GF_MAX_LOCK_OWNER_LEN];
-} gf_lkowner_t;
-
+#include "glusterfs-fops.h"
/* LKOWNER to string functions */
static inline void