diff options
author | NeilBrown <neilb@suse.com> | 2015-07-06 16:33:47 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-08-31 19:32:09 +0200 |
commit | 02ec50265b16493e4a62228727e9f774068123d2 (patch) | |
tree | de3534612bf3bf461b67a722b686601230fbf760 /drivers/md/raid10.c | |
parent | 92140480ed59a006b245efd33a195fde62d1845f (diff) | |
download | linux-02ec50265b16493e4a62228727e9f774068123d2.tar.bz2 |
md/raid10: fix a few typos in comments
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 38c58e19cfce..dcc0e9b3ee92 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -4215,7 +4215,7 @@ static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, * at a time, possibly less if that exceeds RESYNC_PAGES, * or we hit a bad block or something. * This might mean we pause for normal IO in the middle of - * a chunk, but that is not a problem was mddev->reshape_position + * a chunk, but that is not a problem as mddev->reshape_position * can record any location. * * If we will want to write to a location that isn't @@ -4239,7 +4239,7 @@ static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, * * In all this the minimum difference in data offsets * (conf->offset_diff - always positive) allows a bit of slack, - * so next can be after 'safe', but not by more than offset_disk + * so next can be after 'safe', but not by more than offset_diff * * We need to prepare all the bios here before we start any IO * to ensure the size we choose is acceptable to all devices. |