UBIFS: fix available blocks count
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 19 Dec 2008 17:26:29 +0000 (19:26 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 5 Jan 2009 19:38:58 +0000 (21:38 +0200)
Take into account that 2 eraseblocks are never available because
they are reserved for the index. This gives more realistic count
of FS blocks.

To avoid future confusions like this, introduce a constant.

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

No differences found