aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nftlmount.c
diff options
context:
space:
mode:
authorPaulius Zaleckas <pauliusz@yahoo.com>2008-02-03 08:42:53 -0500
committerAdrian Bunk <bunk@kernel.org>2008-02-03 08:42:53 -0500
commitefad798b9f01300565f65058b153250cc49d58f2 (patch)
treef425b1fad94ca5eb384f4df9418450afb163bcae /drivers/mtd/nftlmount.c
parent0cadfc09534033e2b9694bd2d226b5dcfebd6704 (diff)
Spelling fixes: lenght->length
Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/mtd/nftlmount.c')
-rw-r--r--drivers/mtd/nftlmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nftlmount.c b/drivers/mtd/nftlmount.c
index 067262ee8df0..0513cbc8834d 100644
--- a/drivers/mtd/nftlmount.c
+++ b/drivers/mtd/nftlmount.c
@@ -429,7 +429,7 @@ static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_b
429 } 429 }
430} 430}
431 431
432/* calc_chain_lenght: Walk through a Virtual Unit Chain and estimate chain length */ 432/* calc_chain_length: Walk through a Virtual Unit Chain and estimate chain length */
433static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) 433static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block)
434{ 434{
435 unsigned int length = 0, block = first_block; 435 unsigned int length = 0, block = first_block;