projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf97a34
)
md-cluster: discard unused sb_mutex.
author
NeilBrown
<neilb@suse.com>
Mon, 19 Oct 2015 04:36:07 +0000
(15:36 +1100)
committer
NeilBrown
<neilb@suse.com>
Sat, 24 Oct 2015 06:16:18 +0000
(17:16 +1100)
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md-cluster.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/md-cluster.c
b/drivers/md/md-cluster.c
index f42162c49e3bdc0a6bde8c4d36456294e6b77e3d..02a0fb2e8441a5624948657237d314adcd447355 100644
(file)
--- 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);