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:39:55 -0800
commitf823b85d80bd2c9563a7a9d8762ea668dee13176 (patch)
treea4d566b21c2bb8b8ada6e5c18cd497f37014ae58 /xlators/features/locks/src/common.h
parent090a96d0a5963bc62efc3354480e277610cab7e6 (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> BUG: 449 (Handle flock calls in a different domain from fcntl calls) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=449
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);