Commit 79b9efb2 authored by Guozhonghua's avatar Guozhonghua Committed by Stephen Rothwell
Browse files

ocfs2/dlm: optimize freeing of dead node locks

Three loops can be optimized into one and its sub loops, so less code can
do the same work.

Link: http://lkml.kernel.org/r/71604351584F6A4EBAE558C676F37CA4C4AF898E@H3CMLB12-EX.srv.huawei-3com.com


Signed-off-by: default avatarGuozhonghua <guozhonghua@h3c.com>
Reviewed-by: default avatarEric Ren <zren@suse.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent ce17a9b6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment