From ef4005be3ac7f0f266f139c5b3d66538e35b924c Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Mon, 18 Oct 2010 03:16:05 +0000 Subject: features/locks: Handle upgrade/downgrade of locks properly. Signed-off-by: root 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 e89092811a..1bbbee119c 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