From: Namjae Jeon Date: Thu, 26 Jun 2014 14:11:53 +0000 (-0400) Subject: ext4: decrement free clusters/inodes counters when block group declared bad X-Git-Tag: omap-for-v3.16/fixes-rc4~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e43bb4e612;p=pandora-kernel.git ext4: decrement free clusters/inodes counters when block group declared bad We should decrement free clusters counter when block bitmap is marked as corrupt and free inodes counter when the allocation bitmap is marked as corrupt to avoid misunderstanding due to incorrect available size in statfs result. User can get immediately ENOSPC error from write begin without reaching for the writepages. Cc: Darrick J. Wong Reported-by: Amit Sahrawat Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- Reading git-diff-tree failed