diff options
author | NeilBrown | 2010-10-26 15:46:20 +1100 |
---|---|---|
committer | NeilBrown | 2010-10-29 16:40:33 +1100 |
commit | 046abeede717909feec38587d667cde1fc6c459c (patch) | |
tree | e273b3c9aa887d2bc571b5ddff0bdff954f303e0 /drivers/md | |
parent | 9b19553e0bd342957846037c996861d280ed694d (diff) |
md/raid1: fix some typos in comments.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/raid1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index f7a8954d665f..a0322db4d355 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -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 */ + /* Now 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 originial 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 is recovery + /* Only remove non-faulty devices if recovery * is not possible. */ if (!test_bit(Faulty, &rdev->flags) && |