aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ubifs/replay.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c
index 5e815034aabd..ee2f0b240ce0 100644
--- a/fs/ubifs/replay.c
+++ b/fs/ubifs/replay.c
@@ -90,14 +90,16 @@ struct replay_entry {
90 * struct bud_entry - entry in the list of buds to replay. 90 * struct bud_entry - entry in the list of buds to replay.
91 * @list: next bud in the list 91 * @list: next bud in the list
92 * @bud: bud description object 92 * @bud: bud description object
93 * @free: free bytes in the bud
94 * @sqnum: reference node sequence number 93 * @sqnum: reference node sequence number
94 * @free: free bytes in the bud
95 * @dirty: dirty bytes in the bud
95 */ 96 */
96struct bud_entry { 97struct bud_entry {
97 struct list_head list; 98 struct list_head list;
98 struct ubifs_bud *bud; 99 struct ubifs_bud *bud;
99 int free;
100 unsigned long long sqnum; 100 unsigned long long sqnum;
101 int free;
102 int dirty;
101}; 103};
102 104
103/** 105/**
@@ -720,6 +722,8 @@ static int replay_buds(struct ubifs_info *c)
720 &free, &dirty); 722 &free, &dirty);
721 if (err) 723 if (err)
722 return err; 724 return err;
725 b->free = free;
726 b->dirty = dirty;
723 err = insert_ref_node(c, b->bud->lnum, b->bud->start, b->sqnum, 727 err = insert_ref_node(c, b->bud->lnum, b->bud->start, b->sqnum,
724 free, dirty, b->bud->jhead); 728 free, dirty, b->bud->jhead);
725 if (err) 729 if (err)