diff options
author | Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> | 2010-05-06 06:21:47 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-05-07 01:33:10 -0400 |
commit | 3f5026222e8a16daaa830eec4d72c6745b74407e (patch) | |
tree | a3274b82c86184e8b6e39795dbf11ad5d243f4c3 /drivers/mtd/ubi/kapi.c | |
parent | af7ad7a0a6c0c1d8497a25b6b8b3b2ce9f52ff04 (diff) |
UBI: fix s/then/than/ typos
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
-rw-r--r-- | drivers/mtd/ubi/kapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index 17f287decc36..69fa4ef03c53 100644 --- a/drivers/mtd/ubi/kapi.c +++ b/drivers/mtd/ubi/kapi.c | |||
@@ -488,7 +488,7 @@ EXPORT_SYMBOL_GPL(ubi_leb_write); | |||
488 | * | 488 | * |
489 | * This function changes the contents of a logical eraseblock atomically. @buf | 489 | * This function changes the contents of a logical eraseblock atomically. @buf |
490 | * has to contain new logical eraseblock data, and @len - the length of the | 490 | * has to contain new logical eraseblock data, and @len - the length of the |
491 | * data, which has to be aligned. The length may be shorter then the logical | 491 | * data, which has to be aligned. The length may be shorter than the logical |
492 | * eraseblock size, ant the logical eraseblock may be appended to more times | 492 | * eraseblock size, ant the logical eraseblock may be appended to more times |
493 | * later on. This function guarantees that in case of an unclean reboot the old | 493 | * later on. This function guarantees that in case of an unclean reboot the old |
494 | * contents is preserved. Returns zero in case of success and a negative error | 494 | * contents is preserved. Returns zero in case of success and a negative error |
@@ -571,7 +571,7 @@ EXPORT_SYMBOL_GPL(ubi_leb_erase); | |||
571 | * | 571 | * |
572 | * This function un-maps logical eraseblock @lnum and schedules the | 572 | * This function un-maps logical eraseblock @lnum and schedules the |
573 | * corresponding physical eraseblock for erasure, so that it will eventually be | 573 | * corresponding physical eraseblock for erasure, so that it will eventually be |
574 | * physically erased in background. This operation is much faster then the | 574 | * physically erased in background. This operation is much faster than the |
575 | * erase operation. | 575 | * erase operation. |
576 | * | 576 | * |
577 | * Unlike erase, the un-map operation does not guarantee that the logical | 577 | * Unlike erase, the un-map operation does not guarantee that the logical |
@@ -590,7 +590,7 @@ EXPORT_SYMBOL_GPL(ubi_leb_erase); | |||
590 | * | 590 | * |
591 | * The main and obvious use-case of this function is when the contents of a | 591 | * The main and obvious use-case of this function is when the contents of a |
592 | * logical eraseblock has to be re-written. Then it is much more efficient to | 592 | * logical eraseblock has to be re-written. Then it is much more efficient to |
593 | * first un-map it, then write new data, rather then first erase it, then write | 593 | * first un-map it, then write new data, rather than first erase it, then write |
594 | * new data. Note, once new data has been written to the logical eraseblock, | 594 | * new data. Note, once new data has been written to the logical eraseblock, |
595 | * UBI guarantees that the old contents has gone forever. In other words, if an | 595 | * UBI guarantees that the old contents has gone forever. In other words, if an |
596 | * unclean reboot happens after the logical eraseblock has been un-mapped and | 596 | * unclean reboot happens after the logical eraseblock has been un-mapped and |