mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:50:53 +07:00
mtd: mtdswap: fix spelling mistake: 'TRESHOLD' -> 'THRESHOLD'
Trivial fix to spelling mistakes. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
cb9e20633d
commit
a5929b64fa
@ -50,7 +50,7 @@
|
||||
* Number of free eraseblocks below which GC can also collect low frag
|
||||
* blocks.
|
||||
*/
|
||||
#define LOW_FRAG_GC_TRESHOLD 5
|
||||
#define LOW_FRAG_GC_THRESHOLD 5
|
||||
|
||||
/*
|
||||
* 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)
|
||||
{
|
||||
int idx, stopat;
|
||||
|
||||
if (TREE_COUNT(d, CLEAN) < LOW_FRAG_GC_TRESHOLD)
|
||||
if (TREE_COUNT(d, CLEAN) < LOW_FRAG_GC_THRESHOLD)
|
||||
stopat = MTDSWAP_LOWFRAG;
|
||||
else
|
||||
stopat = MTDSWAP_HIFRAG;
|
||||
|
Loading…
Reference in New Issue
Block a user