From: Mingming Cao Date: Fri, 11 Jul 2008 23:27:31 +0000 (-0400) Subject: ext4: mballoc avoid use root reserved blocks for non root allocation X-Git-Tag: v2.6.27-rc1~1087^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07031431072ece801d53d2c03d5e5bb21f4f64a4;p=pandora-kernel.git ext4: mballoc avoid use root reserved blocks for non root allocation mballoc allocation missed check for blocks reserved for root users. Add ext4_has_free_blocks() check before allocation. Also modified ext4_has_free_blocks() to support multiple block allocation request. Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed