ext4: remove redundant goto in ext4_ext_insert_extent()
authorRobin Dong <sanbai@taobao.com>
Mon, 11 Jul 2011 15:43:59 +0000 (11:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 11 Jul 2011 15:43:59 +0000 (11:43 -0400)
commitffb505ff0f7b52318dea46dd139107a8371b4ad7
treee94a4af0c694d5ce79d512be8e8e390da43b9e66
parent22612283f7da1ce9849d9b3716010b07a0446fd9
ext4: remove redundant goto in ext4_ext_insert_extent()

If eh->eh_entries is smaller than eh->eh_max, the routine will
go to the "repeat" and then go to "has_space" directlly ,
since argument "depth" and "eh" are not even changed.

Therefore, goto "has_space" directly and remove redundant "repeat" tag.

Signed-off-by: Robin Dong <sanbai@taobao.com>
fs/ext4/extents.c