diff options
author | Xue jiufei <xuejiufei@huawei.com> | 2015-02-10 14:08:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-10 14:30:28 -0800 |
commit | b934beaf4b920a95db012b3d4476e8375dd4415b (patch) | |
tree | d1b96305b5ff4dae090ff6a323e1c5167ff4d473 /fs/ocfs2/acl.c | |
parent | 102ca6606c96979cbef53dff30deac5e909a1914 (diff) | |
download | linux-b934beaf4b920a95db012b3d4476e8375dd4415b.tar.gz linux-b934beaf4b920a95db012b3d4476e8375dd4415b.tar.bz2 linux-b934beaf4b920a95db012b3d4476e8375dd4415b.zip |
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>
Diffstat (limited to 'fs/ocfs2/acl.c')
0 files changed, 0 insertions, 0 deletions