From 79db3aced2ffca84a696192343d5b811833eb671 Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Tue, 5 Oct 2010 06:40:32 +0000 Subject: features/locks: Handle lock upgrade and downgrade properly in locks. Signed-off-by: Pavan Vilas Sondur Signed-off-by: Pavan Vilas Sondur Signed-off-by: Vijay Bellur BUG: 1017 (Locking deadlock when upgrading lock) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1017 --- xlators/features/locks/src/locks.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/features/locks/src/locks.h') 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 -- cgit