diff options
Diffstat (limited to 'drivers/mtd/mtdswap.c')
| -rw-r--r-- | drivers/mtd/mtdswap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c index 7d9080e33865..f07492c6f4b2 100644 --- a/drivers/mtd/mtdswap.c +++ b/drivers/mtd/mtdswap.c | |||
| @@ -50,7 +50,7 @@ | |||
| 50 | * Number of free eraseblocks below which GC can also collect low frag | 50 | * Number of free eraseblocks below which GC can also collect low frag |
| 51 | * blocks. | 51 | * blocks. |
| 52 | */ | 52 | */ |
| 53 | #define LOW_FRAG_GC_TRESHOLD 5 | 53 | #define LOW_FRAG_GC_THRESHOLD 5 |
| 54 | 54 | ||
| 55 | /* | 55 | /* |
| 56 | * Wear level cost amortization. We want to do wear leveling on the background | 56 | * Wear level cost amortization. We want to do wear leveling on the background |
| @@ -805,7 +805,7 @@ static int __mtdswap_choose_gc_tree(struct mtdswap_dev *d) | |||
| 805 | { | 805 | { |
| 806 | int idx, stopat; | 806 | int idx, stopat; |
| 807 | 807 | ||
| 808 | if (TREE_COUNT(d, CLEAN) < LOW_FRAG_GC_TRESHOLD) | 808 | if (TREE_COUNT(d, CLEAN) < LOW_FRAG_GC_THRESHOLD) |
| 809 | stopat = MTDSWAP_LOWFRAG; | 809 | stopat = MTDSWAP_LOWFRAG; |
| 810 | else | 810 | else |
| 811 | stopat = MTDSWAP_HIFRAG; | 811 | stopat = MTDSWAP_HIFRAG; |
