summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorXue jiufei2014-06-23 22:22:08 +0200
committerLinus Torvalds2014-06-24 01:47:45 +0200
commita270c6d3c0d7ba914bd82da34152d1102920d805 (patch)
tree5834fdb2dc9ac617e1a872d5aca3631b42c9c9c8 /crypto
parentocfs2: refcount: take rw_lock in ocfs2_reflink (diff)
downloadkernel-qcow2-linux-a270c6d3c0d7ba914bd82da34152d1102920d805.tar.gz
kernel-qcow2-linux-a270c6d3c0d7ba914bd82da34152d1102920d805.tar.xz
kernel-qcow2-linux-a270c6d3c0d7ba914bd82da34152d1102920d805.zip
ocfs2/dlm: fix misuse of list_move_tail() in dlm_run_purge_list()
When a lockres in purge list but is still in use, it should be moved to the tail of purge list. dlm_thread will continue to check next lockres in purge list. However, code list_move_tail(&dlm->purge_list, &lockres->purge) will do *no* movements, so dlm_thread will purge the same lockres in this loop again and again. If it is in use for a long time, other lockres will not be processed. Signed-off-by: Yiwen Jiang <jiangyiwen@huawei.com> Signed-off-by: joyce.xue <xuejiufei@huawei.com> Reviewed-by: Mark Fasheh <mfasheh@suse.de> 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 'crypto')
0 files changed, 0 insertions, 0 deletions