Skip to contentSkip to conversation

md:fix a trivial typo in comments

PATCH New Zhilong Liu 1 participant 2 messages Mar 15, 2017 – Mar 16, 2017 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md:fix a trivial typo in comments

bitmap.c: fix a trivial typo in comments of bitmap_read_sb().

---
 drivers/md/bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/bitmap.c +1 -1
index 9fb2cca..af9e0f0 100644
@@ -696,7 +696,7 @@ static int bitmap_read_sb(struct bitmap *bitmap)
 
 out:
 	kunmap_atomic(sb);
-	/* Assiging chunksize is required for "re_read" */
+	/* Assigning chunksize is required for "re_read" */
 	bitmap->mddev->bitmap_info.chunksize = chunksize;
 	if (err == 0 && nodes && (bitmap->cluster_slot < 0)) {
 		err = md_setup_cluster(bitmap->mddev, nodes);
Signature · 1 line
2.6.6
#1 lore raw

PATCH 1/1 md/bitmap:fix a typo in comments of bitmap_read_sb

bitmap.c: fix a trivial typo in comments of bitmap_read_sb().

---
 drivers/md/bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/bitmap.c +1 -1
index 9fb2cca..af9e0f0 100644
@@ -696,7 +696,7 @@ static int bitmap_read_sb(struct bitmap *bitmap)
 
 out:
 	kunmap_atomic(sb);
-	/* Assiging chunksize is required for "re_read" */
+	/* Assigning chunksize is required for "re_read" */
 	bitmap->mddev->bitmap_info.chunksize = chunksize;
 	if (err == 0 && nodes && (bitmap->cluster_slot < 0)) {
 		err = md_setup_cluster(bitmap->mddev, nodes);
Signature · 1 line
2.6.6