Skip to content

Commit

Permalink
UBIFS: correct spelling of "thrice".
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
  • Loading branch information
Adrian Hunter authored and Artem Bityutskiy committed Aug 13, 2008
1 parent 22bc7fa commit 3a13252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fs/ubifs/budget.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ int ubifs_calc_min_idx_lebs(struct ubifs_info *c)

idx_size = c->old_idx_sz + c->budg_idx_growth + c->budg_uncommitted_idx;

/* And make sure we have trice the index size of space reserved */
/* And make sure we have thrice the index size of space reserved */
idx_size = idx_size + (idx_size << 1);

/*
Expand Down Expand Up @@ -388,7 +388,7 @@ static int can_use_rp(struct ubifs_info *c)
* This function makes sure UBIFS has enough free eraseblocks for index growth
* and data.
*
* When budgeting index space, UBIFS reserves trice as more LEBs as the index
* When budgeting index space, UBIFS reserves thrice as many LEBs as the index
* would take if it was consolidated and written to the flash. This guarantees
* that the "in-the-gaps" commit method always succeeds and UBIFS will always
* be able to commit dirty index. So this function basically adds amount of
Expand Down
2 changes: 1 addition & 1 deletion fs/ubifs/find.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp,
idx_lp = idx_heap->arr[0];
sum = idx_lp->free + idx_lp->dirty;
/*
* Since we reserve trice as more space for the index than it
* Since we reserve thrice as much space for the index than it
* actually takes, it does not make sense to pick indexing LEBs
* with less than, say, half LEB of dirty space. May be half is
* not the optimal boundary - this should be tested and
Expand Down

0 comments on commit 3a13252

Please sign in to comment.