Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e055f7e8 authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

UBIFS: fix debugging dump



In 'dbg_check_space_info()' we want to dump current lprops statistics,
but actually dump old statistics. Fix this.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent be9e62a7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1005,8 +1005,10 @@ int dbg_check_space_info(struct ubifs_info *c)
	ubifs_msg("saved lprops statistics dump");
	dbg_dump_lstats(&d->saved_lst);
	ubifs_get_lp_stats(c, &lst);

	ubifs_msg("current lprops statistics dump");
	dbg_dump_lstats(&d->saved_lst);
	dbg_dump_lstats(&lst);

	spin_lock(&c->space_lock);
	dbg_dump_budg(c);
	spin_unlock(&c->space_lock);