projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be9e62a
)
UBIFS: fix debugging dump
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 17 Sep 2009 12:08:31 +0000
(15:08 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 17 Sep 2009 12:08:31 +0000
(15:08 +0300)
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>
fs/ubifs/debug.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/debug.c
b/fs/ubifs/debug.c
index fd3f07e2c71cd4bc48cfcee9e886dc90dbba1179..dbc093afd946c98fee961b68a0131054edbf5014 100644
(file)
--- a/
fs/ubifs/debug.c
+++ b/
fs/ubifs/debug.c
@@
-1005,8
+1005,10
@@
out:
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);