From c8b7c2548c915869a1ea38b1992e4747b731fb18 Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Wed, 30 Jul 2008 12:18:02 +0300 Subject: [PATCH] --- yaml --- r: 108551 b: refs/heads/master c: 3a13252c6f3a029ac992a36910e945f361482797 h: refs/heads/master i: 108549: 2f3b9fcfeceb3ac9daa5826c1c2c40e53b0432cf 108547: 84b07d88b4ff086a864d773560a09e8a15887ce0 108543: b556ed9a0c627a1c24390bd7981ba988607a53b7 v: v3 --- [refs] | 2 +- trunk/fs/ubifs/budget.c | 4 ++-- trunk/fs/ubifs/find.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 556a4f4ee574..4751243438c4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 22bc7fa8c5da09805edc6a6199ce81373b2c207d +refs/heads/master: 3a13252c6f3a029ac992a36910e945f361482797 diff --git a/trunk/fs/ubifs/budget.c b/trunk/fs/ubifs/budget.c index 323d83a4d099..154098157473 100644 --- a/trunk/fs/ubifs/budget.c +++ b/trunk/fs/ubifs/budget.c @@ -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); /* @@ -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 diff --git a/trunk/fs/ubifs/find.c b/trunk/fs/ubifs/find.c index c70c7679c1bf..adee7b5ddeab 100644 --- a/trunk/fs/ubifs/find.c +++ b/trunk/fs/ubifs/find.c @@ -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