git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3601ba2
)
UBIFS: do not allocate unneeded scan buffer
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Mon, 18 Oct 2010 07:00:40 +0000
(10:00 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 21 Oct 2010 08:15:19 +0000
(11:15 +0300)
In 'ubifs_replay_journal()' we allocate 'sbuf' for scanning the log.
However, we already have 'c->sbuf' for these purposes, so do not
allocate yet another one. This reduces UBIFS memory consumption while
recovering.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
No differences found