ext4: reuse path object in ext4_ext_shift_extents()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2014 18:41:09 +0000 (14:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2014 18:41:09 +0000 (14:41 -0400)
commitee4bd0d963b75cbad9bfb59b547146671c7a655a
tree45b8284324939d19a418c6ab1ec4e94dff44c53f
parent10809df84a4d868db61af621bae3658494165279
ext4: reuse path object in ext4_ext_shift_extents()

Now that the semantics of ext4_ext_find_extent() are much cleaner,
it's safe and more efficient to reuse the path object across the
multiple calls to ext4_ext_find_extent() in ext4_ext_shift_extents().

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c