• A
    UBIFS: push empty flash hack down · 9e5de354
    Artem Bityutskiy 提交于
    We have a hack which forces the amount of flash space to be
    equivalent to 'c->blocks_cnt' in case of empty FS. This is
    to make users happy and see '%0' used in 'df' when they
    mount an empty FS. This hack is not needed in
    'ubifs_calc_available()', but it is only needed the caller,
    in 'ubifs_budg_get_free_space()'. So push it down there.
    Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    9e5de354
super.c 50.3 KB