Commit 82381523 authored by NeilBrown's avatar NeilBrown

md-cluster: discard unused sb_mutex.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
parent cf97a348
...@@ -54,7 +54,6 @@ struct md_cluster_info { ...@@ -54,7 +54,6 @@ struct md_cluster_info {
dlm_lockspace_t *lockspace; dlm_lockspace_t *lockspace;
int slot_number; int slot_number;
struct completion completion; struct completion completion;
struct mutex sb_mutex;
struct dlm_lock_resource *bitmap_lockres; struct dlm_lock_resource *bitmap_lockres;
struct dlm_lock_resource *resync_lockres; struct dlm_lock_resource *resync_lockres;
struct list_head suspend_list; struct list_head suspend_list;
...@@ -709,7 +708,6 @@ static int join(struct mddev *mddev, int nodes) ...@@ -709,7 +708,6 @@ static int join(struct mddev *mddev, int nodes)
init_completion(&cinfo->completion); init_completion(&cinfo->completion);
set_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state); set_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
mutex_init(&cinfo->sb_mutex);
mddev->cluster_info = cinfo; mddev->cluster_info = cinfo;
memset(str, 0, 64); memset(str, 0, 64);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment