md-cluster: remove some unnecessary dlm_unlock_sync
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 12 Aug 2016 05:42:36 +0000 (13:42 +0800)
committerShaohua Li <shli@fb.com>
Fri, 9 Sep 2016 18:09:21 +0000 (11:09 -0700)
commit2888f5bf49ede6ddf8f4388a2d4e17dadc5263f5
treec947c6f610d31ade9927e29b3b5f4346f5a06598
parent36c2cffc57f98616b6f7dbf708eabc4e303e8e1d
md-cluster: remove some unnecessary dlm_unlock_sync

Since DLM_LKF_FORCEUNLOCK is used in lockres_free,
we don't need to call dlm_unlock_sync before free
lock resource.

Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md-cluster.c
This page took 0.025102 seconds and 5 git commands to generate.