From: Artem Bityutskiy Date: Mon, 25 Aug 2008 14:29:43 +0000 (+0300) Subject: UBIFS: push empty flash hack down X-Git-Tag: v2.6.27-rc6~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5de3549615818cae9c20a0ee1fd3ad4a747758;p=pandora-kernel.git UBIFS: push empty flash hack down 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: Artem Bityutskiy --- Reading git-diff-tree failed