From: Miao Xie Date: Thu, 15 Dec 2011 01:12:02 +0000 (-0500) Subject: Btrfs: fix inaccurate available space on raid0 profile X-Git-Tag: v3.2-rc6~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39fb26c398ddf8d7794a85e896cfe1a42e55524b;p=pandora-kernel.git Btrfs: fix inaccurate available space on raid0 profile When we use raid0 as the data profile, df command may show us a very inaccurate value of the available space, which may be much less than the real one. It may make the users puzzled. Fix it by changing the calculation of the available space, and making it be more similar to a fake chunk allocation. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed