aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/replay.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/replay.c')
-rw-r--r--fs/ubifs/replay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c
index d3d6d365bfc1..c29c4687cc52 100644
--- a/fs/ubifs/replay.c
+++ b/fs/ubifs/replay.c
@@ -1065,13 +1065,13 @@ int ubifs_replay_journal(struct ubifs_info *c)
1065 goto out; 1065 goto out;
1066 1066
1067 /* 1067 /*
1068 * UBIFS budgeting calculations use @c->budg_uncommitted_idx variable 1068 * UBIFS budgeting calculations use @c->bi.uncommitted_idx variable
1069 * to roughly estimate index growth. Things like @c->min_idx_lebs 1069 * to roughly estimate index growth. Things like @c->bi.min_idx_lebs
1070 * depend on it. This means we have to initialize it to make sure 1070 * depend on it. This means we have to initialize it to make sure
1071 * budgeting works properly. 1071 * budgeting works properly.
1072 */ 1072 */
1073 c->budg_uncommitted_idx = atomic_long_read(&c->dirty_zn_cnt); 1073 c->bi.uncommitted_idx = atomic_long_read(&c->dirty_zn_cnt);
1074 c->budg_uncommitted_idx *= c->max_idx_node_sz; 1074 c->bi.uncommitted_idx *= c->max_idx_node_sz;
1075 1075
1076 ubifs_assert(c->bud_bytes <= c->max_bud_bytes || c->need_recovery); 1076 ubifs_assert(c->bud_bytes <= c->max_bud_bytes || c->need_recovery);
1077 dbg_mnt("finished, log head LEB %d:%d, max_sqnum %llu, " 1077 dbg_mnt("finished, log head LEB %d:%d, max_sqnum %llu, "