commit | 400cb454a4205ec1d7311bc3dd8104859c26ba46 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Fri Aug 12 13:42:35 2016 +0800 |
committer | Shaohua Li <shli@fb.com> | Wed Sep 21 09:09:44 2016 -0700 |
tree | 7007fe9bb16e607a40d1433ab72fbf9f209e8ff0 | |
parent | e566aef12a166732b7fd85897f8736ccf4fc7814 [diff] |
md-cluster: use FORCEUNLOCK in lockres_free For dlm_unlock, we need to pass flag to dlm_unlock as the third parameter instead of set res->flags. Also, DLM_LKF_FORCEUNLOCK is more suitable for dlm_unlock since it works even the lock is on waiting or convert queue. Acked-by: NeilBrown <neilb@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>