diff options
author | Pavan Sondur <pavan@gluster.com> | 2010-10-18 03:16:05 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-18 03:25:54 -0700 |
commit | ef4005be3ac7f0f266f139c5b3d66538e35b924c (patch) | |
tree | 51b8639acc090d982541660249eaae27a1bb5252 /xlators/features/locks/src/locks.h | |
parent | 5ade1467e0cad9687134f25be2b37a667be8ae1a (diff) |
features/locks: Handle upgrade/downgrade of locks properly.v3.0.6rc1
Signed-off-by: root <pavan@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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h index e89092811a6..1bbbee119c8 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 |