ext4: let ext4_group_add_blocks() return an error code
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 27 Jul 2011 01:46:07 +0000 (21:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 27 Jul 2011 01:46:07 +0000 (21:46 -0400)
commitcc7365dfe48cb2191f1572bf69e30d3e58716313
tree1d0a533d6ffcee71900894741995a1d0cf91ab0f
parent0529155e8a4bcb77dfc9ceaea19c6501487e452b
ext4: let ext4_group_add_blocks() return an error code

This patch lets ext4_group_add_blocks() return an error code if it
fails, so that upper functions can handle error correctly.

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