diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-11 06:16:59 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-06-16 12:03:14 -0400 |
commit | 732bee7af3102cad811fb047dee8d15966efe569 (patch) | |
tree | 1a260fdc7a7155e8b22944dc114af4c2cd56a100 /drivers/scsi/libfc | |
parent | 22c1d8b4f8f04882046ebe592f9a9eaea443cb45 (diff) |
fix typos concerning "hierarchy"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 6 | ||||
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 79c9e3ccd341..ef32b065a47f 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -32,11 +32,11 @@ | |||
32 | * invalid SID. We also need to ensure that states don't change unexpectedly | 32 | * invalid SID. We also need to ensure that states don't change unexpectedly |
33 | * while processing another state. | 33 | * while processing another state. |
34 | * | 34 | * |
35 | * HEIRARCHY | 35 | * HIERARCHY |
36 | * | 36 | * |
37 | * The following heirarchy defines the locking rules. A greater lock | 37 | * The following hierarchy defines the locking rules. A greater lock |
38 | * may be held before acquiring a lesser lock, but a lesser lock should never | 38 | * may be held before acquiring a lesser lock, but a lesser lock should never |
39 | * be held while attempting to acquire a greater lock. Here is the heirarchy- | 39 | * be held while attempting to acquire a greater lock. Here is the hierarchy- |
40 | * | 40 | * |
41 | * lport > disc, lport > rport, disc > rport | 41 | * lport > disc, lport > rport, disc > rport |
42 | * | 42 | * |
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 39e440f0f54a..2aa599340106 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
@@ -34,7 +34,7 @@ | |||
34 | * The rport should never hold the rport mutex and then attempt to acquire | 34 | * The rport should never hold the rport mutex and then attempt to acquire |
35 | * either the lport or disc mutexes. The rport's mutex is considered lesser | 35 | * either the lport or disc mutexes. The rport's mutex is considered lesser |
36 | * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for | 36 | * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for |
37 | * more comments on the heirarchy. | 37 | * more comments on the hierarchy. |
38 | * | 38 | * |
39 | * The locking strategy is similar to the lport's strategy. The lock protects | 39 | * The locking strategy is similar to the lport's strategy. The lock protects |
40 | * the rport's states and is held and released by the entry points to the rport | 40 | * the rport's states and is held and released by the entry points to the rport |