diff options
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/Kconfig | 2 | ||||
-rw-r--r-- | fs/ubifs/budget.c | 4 | ||||
-rw-r--r-- | fs/ubifs/gc.c | 2 | ||||
-rw-r--r-- | fs/ubifs/journal.c | 2 | ||||
-rw-r--r-- | fs/ubifs/shrinker.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index 91ceeda7e5bf..e35b54d5059d 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig | |||
@@ -40,7 +40,7 @@ config UBIFS_FS_ZLIB | |||
40 | depends on UBIFS_FS | 40 | depends on UBIFS_FS |
41 | default y | 41 | default y |
42 | help | 42 | help |
43 | Zlib copresses better then LZO but it is slower. Say 'Y' if unsure. | 43 | Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. |
44 | 44 | ||
45 | # Debugging-related stuff | 45 | # Debugging-related stuff |
46 | config UBIFS_FS_DEBUG | 46 | config UBIFS_FS_DEBUG |
diff --git a/fs/ubifs/budget.c b/fs/ubifs/budget.c index 0e5e54d82924..175f9c590b77 100644 --- a/fs/ubifs/budget.c +++ b/fs/ubifs/budget.c | |||
@@ -142,7 +142,7 @@ static long long get_liability(struct ubifs_info *c) | |||
142 | * | 142 | * |
143 | * This function is called when an operation cannot be budgeted because there | 143 | * This function is called when an operation cannot be budgeted because there |
144 | * is supposedly no free space. But in most cases there is some free space: | 144 | * is supposedly no free space. But in most cases there is some free space: |
145 | * o budgeting is pessimistic, so it always budgets more then it is actually | 145 | * o budgeting is pessimistic, so it always budgets more than it is actually |
146 | * needed, so shrinking the liability is one way to make free space - the | 146 | * needed, so shrinking the liability is one way to make free space - the |
147 | * cached data will take less space then it was budgeted for; | 147 | * cached data will take less space then it was budgeted for; |
148 | * o GC may turn some dark space into free space (budgeting treats dark space | 148 | * o GC may turn some dark space into free space (budgeting treats dark space |
@@ -606,7 +606,7 @@ void ubifs_release_budget(struct ubifs_info *c, struct ubifs_budget_req *req) | |||
606 | * @c: UBIFS file-system description object | 606 | * @c: UBIFS file-system description object |
607 | * | 607 | * |
608 | * This function converts budget which was allocated for a new page of data to | 608 | * This function converts budget which was allocated for a new page of data to |
609 | * the budget of changing an existing page of data. The latter is smaller then | 609 | * the budget of changing an existing page of data. The latter is smaller than |
610 | * the former, so this function only does simple re-calculation and does not | 610 | * the former, so this function only does simple re-calculation and does not |
611 | * involve any write-back. | 611 | * involve any write-back. |
612 | */ | 612 | */ |
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c index 0bef6501d58a..9832f9abe28e 100644 --- a/fs/ubifs/gc.c +++ b/fs/ubifs/gc.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #define SMALL_NODE_WM UBIFS_MAX_DENT_NODE_SZ | 45 | #define SMALL_NODE_WM UBIFS_MAX_DENT_NODE_SZ |
46 | 46 | ||
47 | /* | 47 | /* |
48 | * GC may need to move more then one LEB to make progress. The below constants | 48 | * GC may need to move more than one LEB to make progress. The below constants |
49 | * define "soft" and "hard" limits on the number of LEBs the garbage collector | 49 | * define "soft" and "hard" limits on the number of LEBs the garbage collector |
50 | * may move. | 50 | * may move. |
51 | */ | 51 | */ |
diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c index 10ae25b7d1db..9b7c54e0cd2a 100644 --- a/fs/ubifs/journal.c +++ b/fs/ubifs/journal.c | |||
@@ -191,7 +191,7 @@ again: | |||
191 | if (wbuf->lnum != -1 && avail >= len) { | 191 | if (wbuf->lnum != -1 && avail >= len) { |
192 | /* | 192 | /* |
193 | * Someone else has switched the journal head and we have | 193 | * Someone else has switched the journal head and we have |
194 | * enough space now. This happens when more then one process is | 194 | * enough space now. This happens when more than one process is |
195 | * trying to write to the same journal head at the same time. | 195 | * trying to write to the same journal head at the same time. |
196 | */ | 196 | */ |
197 | dbg_jnl("return LEB %d back, already have LEB %d:%d", | 197 | dbg_jnl("return LEB %d back, already have LEB %d:%d", |
diff --git a/fs/ubifs/shrinker.c b/fs/ubifs/shrinker.c index f248533841a2..e7bab52a1410 100644 --- a/fs/ubifs/shrinker.c +++ b/fs/ubifs/shrinker.c | |||
@@ -151,7 +151,7 @@ static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) | |||
151 | * @contention: if any contention, this is set to %1 | 151 | * @contention: if any contention, this is set to %1 |
152 | * | 152 | * |
153 | * This function walks the list of mounted UBIFS file-systems and frees clean | 153 | * This function walks the list of mounted UBIFS file-systems and frees clean |
154 | * znodes which are older then @age, until at least @nr znodes are freed. | 154 | * znodes which are older than @age, until at least @nr znodes are freed. |
155 | * Returns the number of freed znodes. | 155 | * Returns the number of freed znodes. |
156 | */ | 156 | */ |
157 | static int shrink_tnc_trees(int nr, int age, int *contention) | 157 | static int shrink_tnc_trees(int nr, int age, int *contention) |