aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-10-29 11:18:08 -0400
committerJiri Kosina <jkosina@suse.cz>2012-10-29 17:57:50 -0400
commit83f0d77a7f336130a0ae1290d6bcfa606abaad66 (patch)
tree96a9f3396eb7737a195ce0a14025c96f394b71af /drivers
parent54d00f6069d921bfe83344cb94e2dd7cb54531ef (diff)
md: Fix typo in drivers/md
Correct spelling typo in drivers/md. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/md.c2
-rw-r--r--drivers/md/persistent-data/dm-block-manager.c4
-rw-r--r--drivers/md/persistent-data/dm-btree.h2
-rw-r--r--drivers/md/raid5.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 9ab768acfb62..7511ce3cd4dd 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -4124,7 +4124,7 @@ static struct md_sysfs_entry md_size =
4124__ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store); 4124__ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store);
4125 4125
4126 4126
4127/* Metdata version. 4127/* Metadata version.
4128 * This is one of 4128 * This is one of
4129 * 'none' for arrays with no metadata (good luck...) 4129 * 'none' for arrays with no metadata (good luck...)
4130 * 'external' for arrays with externally managed metadata, 4130 * 'external' for arrays with externally managed metadata,
diff --git a/drivers/md/persistent-data/dm-block-manager.c b/drivers/md/persistent-data/dm-block-manager.c
index 5ba277768d99..a3ae09124a67 100644
--- a/drivers/md/persistent-data/dm-block-manager.c
+++ b/drivers/md/persistent-data/dm-block-manager.c
@@ -25,7 +25,7 @@
25 * may be held at once. This is just an implementation detail. 25 * may be held at once. This is just an implementation detail.
26 * 26 *
27 * ii) Recursive locking attempts are detected and return EINVAL. A stack 27 * ii) Recursive locking attempts are detected and return EINVAL. A stack
28 * trace is also emitted for the previous lock aquisition. 28 * trace is also emitted for the previous lock acquisition.
29 * 29 *
30 * iii) Priority is given to write locks. 30 * iii) Priority is given to write locks.
31 */ 31 */
@@ -109,7 +109,7 @@ static int __check_holder(struct block_lock *lock)
109 DMERR("previously held here:"); 109 DMERR("previously held here:");
110 print_stack_trace(lock->traces + i, 4); 110 print_stack_trace(lock->traces + i, 4);
111 111
112 DMERR("subsequent aquisition attempted here:"); 112 DMERR("subsequent acquisition attempted here:");
113 t.nr_entries = 0; 113 t.nr_entries = 0;
114 t.max_entries = MAX_STACK; 114 t.max_entries = MAX_STACK;
115 t.entries = entries; 115 t.entries = entries;
diff --git a/drivers/md/persistent-data/dm-btree.h b/drivers/md/persistent-data/dm-btree.h
index ae02c84410ff..a2cd50441ca1 100644
--- a/drivers/md/persistent-data/dm-btree.h
+++ b/drivers/md/persistent-data/dm-btree.h
@@ -35,7 +35,7 @@ struct dm_transaction_manager;
35 */ 35 */
36 36
37/* 37/*
38 * Infomation about the values stored within the btree. 38 * Information about the values stored within the btree.
39 */ 39 */
40struct dm_btree_value_type { 40struct dm_btree_value_type {
41 void *context; 41 void *context;
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index c5439dce0295..1fe7c2205353 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -1576,7 +1576,7 @@ static int resize_stripes(struct r5conf *conf, int newsize)
1576 * This happens in stages: 1576 * This happens in stages:
1577 * 1/ create a new kmem_cache and allocate the required number of 1577 * 1/ create a new kmem_cache and allocate the required number of
1578 * stripe_heads. 1578 * stripe_heads.
1579 * 2/ gather all the old stripe_heads and tranfer the pages across 1579 * 2/ gather all the old stripe_heads and transfer the pages across
1580 * to the new stripe_heads. This will have the side effect of 1580 * to the new stripe_heads. This will have the side effect of
1581 * freezing the array as once all stripe_heads have been collected, 1581 * freezing the array as once all stripe_heads have been collected,
1582 * no IO will be possible. Old stripe heads are freed once their 1582 * no IO will be possible. Old stripe heads are freed once their