From: Artem Bityutskiy Date: Mon, 18 Oct 2010 07:00:40 +0000 (+0300) Subject: UBIFS: do not allocate unneeded scan buffer X-Git-Tag: v2.6.37-rc1~170^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6599fcbd01baf9d57e847db103d215ea4ec088f9;p=pandora-kernel.git UBIFS: do not allocate unneeded scan buffer 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 --- Reading git-diff-tree failed