diff options
author | Zhonghua Guo | 2014-04-03 23:47:02 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-04-04 01:20:55 +0200 |
commit | a35ad97cd48cfab45f4ee5eb0e6f5787a05cab25 (patch) | |
tree | e94ba401f7bcaba9924972ac71c09f465fb50302 /.gitignore | |
parent | ocfs2: llseek requires ocfs2 inode lock for the file in SEEK_END (diff) | |
download | kernel-qcow2-linux-a35ad97cd48cfab45f4ee5eb0e6f5787a05cab25.tar.gz kernel-qcow2-linux-a35ad97cd48cfab45f4ee5eb0e6f5787a05cab25.tar.xz kernel-qcow2-linux-a35ad97cd48cfab45f4ee5eb0e6f5787a05cab25.zip |
ocfs2: fix deadlock risk when kmalloc failed in dlm_query_region_handler
In dlm_query_region_handler(), once kmalloc failed, it will unlock
dlm_domain_lock without lock first, then deadlock happens.
Signed-off-by: Zhonghua Guo <guozhonghua@h3c.com>
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Tested-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions