]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit8c58f02e244d5b35fa38aa308007715d4957d4c7
tree4226fcf47099fa434aafd9efd3a1a2ad62d8e0a2
parent124eb761edfdee13c02e48815b05d9bed7666d4c
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