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
046abeed
Commit
046abeed
authored
Oct 26, 2010
by
NeilBrown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md/raid1: fix some typos in comments.
Signed-off-by:
NeilBrown
<
neilb@suse.de
>
parent
9b19553e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/md/raid1.c
drivers/md/raid1.c
+3
-3
No files found.
drivers/md/raid1.c
View file @
046abeed
...
...
@@ -666,7 +666,7 @@ static void raise_barrier(conf_t *conf)
/* block any new IO from starting */
conf
->
barrier
++
;
/* No wait for all pending IO to complete */
/* No
w
wait for all pending IO to complete */
wait_event_lock_irq
(
conf
->
wait_barrier
,
!
conf
->
nr_pending
&&
conf
->
barrier
<
RESYNC_DEPTH
,
conf
->
resync_lock
,
...
...
@@ -967,7 +967,7 @@ static int make_request(mddev_t *mddev, struct bio * bio)
* we clear any unused pointer in the io_vec, rather
* than leave them unchanged. This is important
* because when we come to free the pages, we won't
* know the origin
i
al bi_idx, so we just free
* know the original bi_idx, so we just free
* them all
*/
__bio_for_each_segment
(
bvec
,
mbio
,
j
,
0
)
...
...
@@ -1177,7 +1177,7 @@ static int raid1_remove_disk(mddev_t *mddev, int number)
err
=
-
EBUSY
;
goto
abort
;
}
/* Only remove non-faulty devices i
s
recovery
/* Only remove non-faulty devices i
f
recovery
* is not possible.
*/
if
(
!
test_bit
(
Faulty
,
&
rdev
->
flags
)
&&
...
...
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