]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/dlm: should put mle when goto kill in dlm_assert_master_handler
authoralex chen <alex.chen@huawei.com>
Thu, 2 Oct 2014 23:16:55 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Oct 2014 23:28:44 +0000 (16:28 -0700)
commit376632292e76fa7856477af767e28658a63ecb22
tree4c800cabeff48859be4ae5fc161d9deb41b02747
parentf6cb4cd5084ebd29441c51cef2cf1b35ef3f84e2
ocfs2/dlm: should put mle when goto kill in dlm_assert_master_handler

In dlm_assert_master_handler, the mle is get in dlm_find_mle, should be
put when goto kill, otherwise, this mle will never be released.

Signed-off-by: Alex Chen <alex.chen@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: joyce.xue <xuejiufei@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>
fs/ocfs2/dlm/dlmmaster.c