Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
82381523
Commit
82381523
authored
Oct 19, 2015
by
NeilBrown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md-cluster: discard unused sb_mutex.
Signed-off-by:
NeilBrown
<
neilb@suse.com
>
parent
cf97a348
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/md/md-cluster.c
drivers/md/md-cluster.c
+0
-2
No files found.
drivers/md/md-cluster.c
View file @
82381523
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment