ext4: check free block counters in ext4_mb_find_by_goal
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Mon, 24 Sep 2012 03:10:51 +0000 (23:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Sep 2012 03:10:51 +0000 (23:10 -0400)
commit838cd0cf9af52e034ee81513642083bbe8e4ddb1
tree46d4b49c068756af2bee025caca0759833e39310
parent50df9fd55e4271e89a7adf3b1172083dd0ca199d
ext4: check free block counters in ext4_mb_find_by_goal

Free block counters should be checked before doing allocation.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c