From: alex chen Date: Thu, 9 Oct 2014 22:25:00 +0000 (-0700) Subject: ocfs2/dlm: call dlm_lockres_put without resource spinlock X-Git-Tag: fixes-against-v3.18-rc2~137^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a7e6b5a0ad1a554ca982c555a34ce8086d5b994;p=pandora-kernel.git ocfs2/dlm: call dlm_lockres_put without resource spinlock dlm_lockres_put() should be called without &res->spinlock, otherwise a deadlock case may happen. spin_lock(&res->spinlock) ... dlm_lockres_put ->dlm_lockres_release ->dlm_print_one_lock_resource ->spin_lock(&res->spinlock) Signed-off-by: Alex Chen Reviewed-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed