ext4: use the correct error exit path in ext4_init_inode_table()
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Mon, 1 Aug 2011 10:32:19 +0000 (06:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Aug 2011 10:32:19 +0000 (06:32 -0400)
commit33853a0dde359ded0534204eb6857ad5166d515b
tree2c7ab2e9bddc5418af1356bd579dd0d22605c1d9
parentc49bafa3842751b8955a962859f42d307673d75d
ext4: use the correct error exit path in ext4_init_inode_table()

This patch lets ext4_init_inode_table() handle errors right.
ext4_init_inode_table() should down_write() alloc_sem which
has been up_write()ed and stop the started journal handle.

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