summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2015-10-19 15:36:07 +1100
committerNeilBrown <neilb@suse.com>2015-10-24 17:16:18 +1100
commit823815238f5e2bfd3783602ca9c50da9fe41c778 (patch)
tree7bca3edf22e506f170f892b2d796123b92beb952 /drivers/md
parentcf97a348c8f700e448588bad4de3504d8d65c2f9 (diff)
downloadlinux-stable-823815238f5e2bfd3783602ca9c50da9fe41c778.tar.gz
linux-stable-823815238f5e2bfd3783602ca9c50da9fe41c778.tar.bz2
linux-stable-823815238f5e2bfd3783602ca9c50da9fe41c778.zip
md-cluster: discard unused sb_mutex.
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md-cluster.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c
index f42162c49e3b..02a0fb2e8441 100644
--- a/drivers/md/md-cluster.c
+++ b/drivers/md/md-cluster.c
@@ -54,7 +54,6 @@ struct md_cluster_info {
dlm_lockspace_t *lockspace;
int slot_number;
struct completion completion;
- struct mutex sb_mutex;
struct dlm_lock_resource *bitmap_lockres;
struct dlm_lock_resource *resync_lockres;
struct list_head suspend_list;
@@ -709,7 +708,6 @@ static int join(struct mddev *mddev, int nodes)
init_completion(&cinfo->completion);
set_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
- mutex_init(&cinfo->sb_mutex);
mddev->cluster_info = cinfo;
memset(str, 0, 64);