Home
last modified time | relevance | path

Searched hist:b934beaf4b920a95db012b3d4476e8375dd4415b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.cdiff b934beaf4b920a95db012b3d4476e8375dd4415b Tue Feb 10 16:08:40 CST 2015 Xue jiufei <xuejiufei@huawei.com> ocfs2/dlm: add missing dlm_lock_put() when recovery master down

When the recovery master is down, the owner of $RECOVERY calls
dlm_do_local_recovery_cleanup() to prune any $RECOVERY entries for dead
nodes. The lock is in the granted list and the refcount must be 2. We
should put twice to remove this lock. Otherwise, it will lead to a memory
leak.

Signed-off-by: joyce.xue <xuejiufei@huawei.com>
Reported-by: yangwenfang <vicky.yangwenfang@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>