]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: remove quota allocation when ext4_mb_new_blocks fails
authorShen Feng <shen@cn.fujitsu.com>
Fri, 11 Jul 2008 23:27:31 +0000 (19:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 11 Jul 2008 23:27:31 +0000 (19:27 -0400)
commit363d4251d4bd984c304e0989789f6494343660fd
tree01a697f77e1e486b7f7972f4cbe27b71fca911eb
parentf9a8ac99fd79eb961a8573ccf058439bc17b4d3a
ext4: remove quota allocation when ext4_mb_new_blocks fails

Quota allocation is not removed when ext4_mb_new_blocks calls
kmem_cache_alloc failed.  Also make sure the allocation context is freed
on the error path.

Signed-off-by: Shen Feng <shen@cn.fujitsu.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c