UBIFS: remove incorrect index space check
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 25 Aug 2008 13:02:31 +0000 (16:02 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 31 Aug 2008 14:16:03 +0000 (17:16 +0300)
When we report free space to user-space, we should not report
0 if the amount of empty LEBs is too low, because they would
be produced by GC when needed. Thus, just call
'ubifs_calc_available()' straight away which would take
'min_idx_lebs' into account anyway.

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

No differences found