summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/common.h
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-02-12 04:08:03 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-18 08:40:19 -0800
commit90a52d538d49738f2f61dcd45f15e4db76aa1296 (patch)
tree04188dbcee7ab9f3934c716d26c5c532fdb0fd78 /xlators/features/locks/src/common.h
parent03f487c9419fca50d378ce514b014450e46af113 (diff)
features/locks: Set dummy fd ctx in all relevant places so that release callback in locks is always called.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/features/locks/src/common.h')
-rw-r--r--xlators/features/locks/src/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/locks/src/common.h b/xlators/features/locks/src/common.h
index 00532ea6f92..133a4f7227a 100644
--- a/xlators/features/locks/src/common.h
+++ b/xlators/features/locks/src/common.h
@@ -110,6 +110,9 @@ pl_print_locker (char *str, int size, xlator_t *this, call_frame_t *frame);
void
pl_print_inodelk (char *str, int size, int cmd, struct flock *flock, const char *domain);
+void
+pl_trace_release (xlator_t *this, fd_t *fd);
+
unsigned long
fd_to_fdnum (fd_t *fd);