UBIFS: simplify make_free_space
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 9 Dec 2008 16:04:40 +0000 (11:04 -0500)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 5 Jan 2009 19:39:00 +0000 (21:39 +0200)
The 'make_free_space()' function was too complex and this patch
simplifies it. It also fixes a bug - the freespace test failed
straight away on UBI volumes with 512 bytes LEB size.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found