Skip to contentSkip to conversation

md: Fix typo in drivers/md

PATCH New Masanari Iida 1 participant 1 message Oct 29, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md: Fix typo in drivers/md

Correct spelling typo in drivers/md.

---
 drivers/md/md.c                               | 2 +-
 drivers/md/persistent-data/dm-block-manager.c | 4 ++--
 drivers/md/persistent-data/dm-btree.h         | 2 +-
 drivers/md/raid5.c                            | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
drivers/md/md.c +1 -1
index 12293a0..c131744 100644
@@ -4124,7 +4124,7 @@ static struct md_sysfs_entry md_size =
 __ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store);
 
 
-/* Metdata version.
+/* Metadata version.
  * This is one of
  *   'none' for arrays with no metadata (good luck...)
  *   'external' for arrays with externally managed metadata,
drivers/md/persistent-data/dm-block-manager.c +2 -2
index 5ba2777..a3ae091 100644
@@ -25,7 +25,7 @@
  * may be held at once.  This is just an implementation detail.
  *
  * ii) Recursive locking attempts are detected and return EINVAL.  A stack
- * trace is also emitted for the previous lock aquisition.
+ * trace is also emitted for the previous lock acquisition.
  *
  * iii) Priority is given to write locks.
  */
@@ -109,7 +109,7 @@ static int __check_holder(struct block_lock *lock)
 			DMERR("previously held here:");
 			print_stack_trace(lock->traces + i, 4);
 
-			DMERR("subsequent aquisition attempted here:");
+			DMERR("subsequent acquisition attempted here:");
 			t.nr_entries = 0;
 			t.max_entries = MAX_STACK;
 			t.entries = entries;
drivers/md/persistent-data/dm-btree.h +1 -1
index ae02c84..a2cd5044 100644
@@ -35,7 +35,7 @@ struct dm_transaction_manager;
  */
 
 /*
- * Infomation about the values stored within the btree.
+ * Information about the values stored within the btree.
  */
 struct dm_btree_value_type {
 	void *context;
drivers/md/raid5.c +1 -1
index 8f2a2ff..320df0c 100644
@@ -1612,7 +1612,7 @@ static int resize_stripes(struct r5conf *conf, int newsize)
 	 * This happens in stages:
 	 * 1/ create a new kmem_cache and allocate the required number of
 	 *    stripe_heads.
-	 * 2/ gather all the old stripe_heads and tranfer the pages across
+	 * 2/ gather all the old stripe_heads and transfer the pages across
 	 *    to the new stripe_heads.  This will have the side effect of
 	 *    freezing the array as once all stripe_heads have been collected,
 	 *    no IO will be possible.  Old stripe heads are freed once their
Signature · 1 line
1.8.0.rc3.16.g8ead1bf