*.* !.gitignore !Makefile llow'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2016-08-12 13:42:35 +0800
committerShaohua Li <shli@fb.com>2016-09-21 09:09:44 -0700
commit400cb454a4205ec1d7311bc3dd8104859c26ba46 (patch)
tree7007fe9bb16e607a40d1433ab72fbf9f209e8ff0
parente566aef12a166732b7fd85897f8736ccf4fc7814 (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>