aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-09-17 08:08:31 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-09-17 08:08:31 -0400
commite055f7e873d900925c222cf2d1ec955af4a9ca90 (patch)
tree9696d7bcf60f35140b10a2c0ecf421991623c430 /fs/ubifs/debug.c
parentbe9e62a7307583594d88f6ccf57a4e30308e7b21 (diff)
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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r--fs/ubifs/debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index fd3f07e2c71c..dbc093afd946 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -1005,8 +1005,10 @@ out:
1005 ubifs_msg("saved lprops statistics dump"); 1005 ubifs_msg("saved lprops statistics dump");
1006 dbg_dump_lstats(&d->saved_lst); 1006 dbg_dump_lstats(&d->saved_lst);
1007 ubifs_get_lp_stats(c, &lst); 1007 ubifs_get_lp_stats(c, &lst);
1008
1008 ubifs_msg("current lprops statistics dump"); 1009 ubifs_msg("current lprops statistics dump");
1009 dbg_dump_lstats(&d->saved_lst); 1010 dbg_dump_lstats(&lst);
1011
1010 spin_lock(&c->space_lock); 1012 spin_lock(&c->space_lock);
1011 dbg_dump_budg(c); 1013 dbg_dump_budg(c);
1012 spin_unlock(&c->space_lock); 1014 spin_unlock(&c->space_lock);