summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/fd.c2
-rw-r--r--libglusterfs/src/fd.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/libglusterfs/src/fd.c b/libglusterfs/src/fd.c
index f9466bbf4cc..0c3a5262133 100644
--- a/libglusterfs/src/fd.c
+++ b/libglusterfs/src/fd.c
@@ -926,7 +926,7 @@ fd_ctx_get (fd_t *fd, xlator_t *xlator, uint64_t *value)
}
-static int
+int
__fd_ctx_del (fd_t *fd, xlator_t *xlator, uint64_t *value)
{
int index = 0;
diff --git a/libglusterfs/src/fd.h b/libglusterfs/src/fd.h
index e2f54bc9dc1..1077cfa8632 100644
--- a/libglusterfs/src/fd.h
+++ b/libglusterfs/src/fd.h
@@ -160,6 +160,10 @@ int
fd_ctx_del (fd_t *fd, xlator_t *xlator, uint64_t *value);
int
+__fd_ctx_del (fd_t *fd, xlator_t *xlator, uint64_t *value);
+
+
+int
__fd_ctx_set (fd_t *fd, xlator_t *xlator, uint64_t value);