commit | 07031431072ece801d53d2c03d5e5bb21f4f64a4 | [log] [tgz] |
---|---|---|
author | Mingming Cao <cmm@us.ibm.com> | Fri Jul 11 19:27:31 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jul 11 19:27:31 2008 -0400 |
tree | b3075b21242bda4e16c35814fceeaef64a027647 | |
parent | d755fb384250d6bd7fd18a0930e71965acc8e72e [diff] |
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 <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>