summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/locks.h
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-10-05 06:40:32 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-05 05:34:56 -0700
commit79db3aced2ffca84a696192343d5b811833eb671 (patch)
tree8240b3f9844c0e3027449aa4478b58296dd1921f /xlators/features/locks/src/locks.h
parent99ac72b988f0ccd0bf876cf3e2326b8406f71461 (diff)
features/locks: Handle lock upgrade and downgrade properly in locks.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Pavan Vilas Sondur <pavan@dev.gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1017 (Locking deadlock when upgrading lock) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1017
Diffstat (limited to 'xlators/features/locks/src/locks.h')
-rw-r--r--xlators/features/locks/src/locks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h
index 68c0c7522ec..614bddb6451 100644
--- a/xlators/features/locks/src/locks.h
+++ b/xlators/features/locks/src/locks.h
@@ -44,6 +44,7 @@ struct __posix_lock {
xlator_t *this; /* required for blocked locks */
unsigned long fd_num;
+ fd_t *fd;
call_frame_t *frame;
/* These two together serve to uniquely identify each process