aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs/misc.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-25 16:02:31 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-31 17:16:03 +0300
commit8aabb75017291ba68c09ff5fdb998ef0a1fdaaf9 (patch)
treea16b1f8bf707b6611f6e2a966dc35f6bc3bbe762 /fs/ubifs/misc.h
parent9e5de3549615818cae9c20a0ee1fd3ad4a747758 (diff)
UBIFS: remove incorrect index space check
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>
Diffstat (limited to 'fs/ubifs/misc.h')
0 files changed, 0 insertions, 0 deletions