瀏覽代碼

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>
Heinz Mauelshagen 9 年之前
父節點
當前提交
ae3c6cfff9
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      drivers/md/dm-raid.c

+ 2 - 4
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
  * Conversions of raid sets from one MD personality to another
  * have to conform to restrictions which are enforced here.
  * 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)
 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
 	 *   be available at the end of each disk
 	 *
 	 *
 	 * - data_offset and new_data_offset are
 	 * - 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
 	 *   reshaping based on userspace passing in
 	 *   the "data_offset <sectors>" key/value
 	 *   the "data_offset <sectors>" key/value
-	 *   pair via te constructor
+	 *   pair via the constructor
 	 */
 	 */
 
 
 	/* Add disk(s) */
 	/* Add disk(s) */