diff options
author | alex chen <alex.chen@huawei.com> | 2014-10-09 15:25:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:25:47 -0400 |
commit | 9a7e6b5a0ad1a554ca982c555a34ce8086d5b994 (patch) | |
tree | 20f774e8024fd220b8feb59d60da32b0583168df /Kconfig | |
parent | 4a4e07c1bdbbc24d905e4c266b92cada9371db5d (diff) | |
download | blackbird-op-linux-9a7e6b5a0ad1a554ca982c555a34ce8086d5b994.tar.gz blackbird-op-linux-9a7e6b5a0ad1a554ca982c555a34ce8086d5b994.zip |
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 <alex.chen@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions