aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJoseph Qi <[email protected]>2014-09-25 16:05:16 -0700
committerLinus Torvalds <[email protected]>2014-09-26 08:10:34 -0700
commit5760a97c7143c208fa3a8f8cad0ed7dd672ebd28 (patch)
tree5fa9d3345390c8d86f7768ee6d04d2520d4c28f5 /net/lapb/lapb_subr.c
parent56d7acc792c0d98f38f22058671ee715ff197023 (diff)
ocfs2/dlm: do not get resource spinlock if lockres is new
There is a deadlock case which reported by Guozhonghua: https://oss.oracle.com/pipermail/ocfs2-devel/2014-September/010079.html This case is caused by &res->spinlock and &dlm->master_lock misordering in different threads. It was introduced by commit 8d400b81cc83 ("ocfs2/dlm: Clean up refmap helpers"). Since lockres is new, it doesn't not require the &res->spinlock. So remove it. Fixes: 8d400b81cc83 ("ocfs2/dlm: Clean up refmap helpers") Signed-off-by: Joseph Qi <[email protected]> Reviewed-by: joyce.xue <[email protected]> Reported-by: Guozhonghua <[email protected]> Cc: Joel Becker <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions