ext4: avoid unneeded ext4_ext_next_leaf_block() while inserting extents
authorRobin Dong <sanbai@taobao.com>
Mon, 11 Jul 2011 22:24:01 +0000 (18:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 11 Jul 2011 22:24:01 +0000 (18:24 -0400)
commit598dbdf2433cad55bd44d923f67a053871e3eabf
tree848036d87de48e271f6e23c1603100f4a75a2387
parentffb505ff0f7b52318dea46dd139107a8371b4ad7
ext4: avoid unneeded ext4_ext_next_leaf_block() while inserting extents

Optimize ext4_ext_insert_extent() by avoiding
ext4_ext_next_leaf_block() when the result is not used/needed.

Signed-off-by: Robin Dong <sanbai@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c