]> git.ipfire.org Git - thirdparty/mdadm.git/commit
util: fix wrong return value of cluster_get_dlmlock
authorGuoqing Jiang <gqjiang@suse.com>
Wed, 20 Jan 2016 08:21:25 +0000 (16:21 +0800)
committerNeilBrown <neilb@suse.com>
Wed, 27 Jan 2016 00:43:02 +0000 (11:43 +1100)
commit32539f74d2d51d72b57f2314943ea8e0df6dab41
tree7042cc637f9f3b54e3614c6e592dedf85882be1a
parent50d72ed4298618c679efd43647dd055527e59b10
util: fix wrong return value of cluster_get_dlmlock

Actually lksb.sb_status means that a node got the lock
or not instead of the return value of dlm_lock.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
util.c