]> git.baikalelectronics.ru Git - kernel.git/commit
md-cluster: correct the num for comparison
authorGuoqing Jiang <gqjiang@suse.com>
Tue, 21 Apr 2015 16:25:52 +0000 (11:25 -0500)
committerNeilBrown <neilb@suse.de>
Tue, 21 Apr 2015 21:58:31 +0000 (07:58 +1000)
commitb6bfee05e983e6b5adf94ed94991b9b03cf4b55d
tree4226fcf47099fa434aafd9efd3a1a2ad62d8e0a2
parente4dc4240e46892be3dc0cfff526c27882d50effd
md-cluster: correct the num for comparison

Since the node num of md-cluster is from zero, and
cinfo->slot_number represents the slot num of dlm,
no need to check for equality.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md-cluster.c