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
Kirill Smelkov
linux
Commits
e8096360
Commit
e8096360
authored
Oct 11, 2011
by
NeilBrown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md/raid1: typedef removal: conf_t -> struct r1conf
Signed-off-by:
NeilBrown
<
neilb@suse.de
>
parent
e879a879
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
50 deletions
+48
-50
drivers/md/raid1.c
drivers/md/raid1.c
+47
-47
drivers/md/raid1.h
drivers/md/raid1.h
+1
-3
No files found.
drivers/md/raid1.c
View file @
e8096360
This diff is collapsed.
Click to expand it.
drivers/md/raid1.h
View file @
e8096360
...
@@ -19,7 +19,7 @@ struct pool_info {
...
@@ -19,7 +19,7 @@ struct pool_info {
int
raid_disks
;
int
raid_disks
;
};
};
struct
r1
_private_data_s
{
struct
r1
conf
{
struct
mddev
*
mddev
;
struct
mddev
*
mddev
;
struct
mirror_info
*
mirrors
;
struct
mirror_info
*
mirrors
;
int
raid_disks
;
int
raid_disks
;
...
@@ -90,8 +90,6 @@ struct r1_private_data_s {
...
@@ -90,8 +90,6 @@ struct r1_private_data_s {
struct
md_thread
*
thread
;
struct
md_thread
*
thread
;
};
};
typedef
struct
r1_private_data_s
conf_t
;
/*
/*
* this is our 'private' RAID1 bio.
* this is our 'private' RAID1 bio.
*
*
...
...
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