summaryrefslogtreecommitdiff
path: root/arch/um/drivers/xterm.c
diff options
context:
space:
mode:
authorJoseph Qi <joseph.qi@huawei.com>2013-07-03 22:00:52 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 23:07:23 (GMT)
commit33add0e3a09a62c7796ea9838243c1cd933d8543 (patch)
treeb3f8df10c52c784f5e3b68639b4507e54f3d31ac /arch/um/drivers/xterm.c
parent8fa9d17f93ee8eb79d595c98cef0944f6ee5de75 (diff)
downloadlinux-33add0e3a09a62c7796ea9838243c1cd933d8543.tar.xz
ocfs2: fix mutex_unlock and possible memory leak in ocfs2_remove_btree_range
In ocfs2_remove_btree_range, when calling ocfs2_lock_refcount_tree and ocfs2_prepare_refcount_change_for_del failed, it goes to out and then tries to call mutex_unlock without mutex_lock before. And when calling ocfs2_reserve_blocks_for_rec_trunc failed, it should free ref_tree before return. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Reviewed-by: Jie Liu <jeff.liu@oracle.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 'arch/um/drivers/xterm.c')
0 files changed, 0 insertions, 0 deletions