aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2016-06-15 22:27:40 +0200
committerMike Snitzer <snitzer@redhat.com>2016-07-18 15:37:20 -0400
commitae3c6cfff98864fd2c282500632e11e3c9c514e3 (patch)
tree3ec68da33ede69d8c68c976c3e53b9da5ead563f /drivers/md
parentdm raid: more restricting data_offset value checks (diff)
downloadlinux-dev-ae3c6cfff98864fd2c282500632e11e3c9c514e3.tar.xz
linux-dev-ae3c6cfff98864fd2c282500632e11e3c9c514e3.zip
dm raid: remove bogus comment and fix comment typos
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-raid.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c
index b1dbf28f36d2..864e903cddda 100644
--- a/drivers/md/dm-raid.c
+++ b/drivers/md/dm-raid.c
@@ -1487,8 +1487,6 @@ static int raid_is_congested(struct dm_target_callbacks *cb, int bits)
*
* Conversions of raid sets from one MD personality to another
* have to conform to restrictions which are enforced here.
- *
- * Degration is already checked for in rs_check_conversion() below.
*/
static int rs_check_takeover(struct raid_set *rs)
{
@@ -2512,10 +2510,10 @@ static int rs_setup_reshape(struct raid_set *rs)
* be available at the end of each disk
*
* - data_offset and new_data_offset are
- * adjusted for afreentioned out of place
+ * adjusted for aforementioned out of place
* reshaping based on userspace passing in
* the "data_offset <sectors>" key/value
- * pair via te constructor
+ * pair via the constructor
*/
/* Add disk(s) */