diff options
author | Mingming Cao <cmm@us.ibm.com> | 2008-07-11 19:27:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-11 19:27:31 -0400 |
commit | 07031431072ece801d53d2c03d5e5bb21f4f64a4 (patch) | |
tree | b3075b21242bda4e16c35814fceeaef64a027647 /mm/dmapool.c | |
parent | d755fb384250d6bd7fd18a0930e71965acc8e72e (diff) | |
download | op-kernel-dev-07031431072ece801d53d2c03d5e5bb21f4f64a4.zip op-kernel-dev-07031431072ece801d53d2c03d5e5bb21f4f64a4.tar.gz |
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>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions