From 1f16ceda515b5b9bb6cd65b634c26618c9dde466 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 15 May 2011 11:14:57 +0300 Subject: [PATCH] --- yaml --- r: 250452 b: refs/heads/master c: af1dd412646a58b29522f93f7befa944d7d361c0 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ubifs/replay.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 1b5eb29c56ac..b26ca56b38b6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 12f338914e7f2a9ab0def09564b9e78ab45a474f +refs/heads/master: af1dd412646a58b29522f93f7befa944d7d361c0 diff --git a/trunk/fs/ubifs/replay.c b/trunk/fs/ubifs/replay.c index 5e815034aabd..ee2f0b240ce0 100644 --- a/trunk/fs/ubifs/replay.c +++ b/trunk/fs/ubifs/replay.c @@ -90,14 +90,16 @@ struct replay_entry { * struct bud_entry - entry in the list of buds to replay. * @list: next bud in the list * @bud: bud description object - * @free: free bytes in the bud * @sqnum: reference node sequence number + * @free: free bytes in the bud + * @dirty: dirty bytes in the bud */ struct bud_entry { struct list_head list; struct ubifs_bud *bud; - int free; unsigned long long sqnum; + int free; + int dirty; }; /** @@ -720,6 +722,8 @@ static int replay_buds(struct ubifs_info *c) &free, &dirty); if (err) return err; + b->free = free; + b->dirty = dirty; err = insert_ref_node(c, b->bud->lnum, b->bud->start, b->sqnum, free, dirty, b->bud->jhead); if (err)