diff options
author | 2016-01-14 15:17:41 -0800 | |
---|---|---|
committer | 2016-01-14 16:00:49 -0800 | |
commit | 32e493265b2be96404aaa478fb2913be29b06887 (patch) | |
tree | a2cdd4bbd5c06207c614a2ce8e9234bb7bcfdb7e /include | |
parent | ocfs2/dlm: ignore cleaning the migration mle that is inuse (diff) | |
download | wireguard-linux-32e493265b2be96404aaa478fb2913be29b06887.tar.xz wireguard-linux-32e493265b2be96404aaa478fb2913be29b06887.zip |
ocfs2/dlm: do not insert a new mle when another process is already migrating
When two processes are migrating the same lockres,
dlm_add_migration_mle() return -EEXIST, but insert a new mle in hash
list. dlm_migrate_lockres() will detach the old mle and free the new
one which is already in hash list, that will destroy the list.
Signed-off-by: Jiufei Xue <xuejiufei@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Reviewed-by: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions