Skip to content
Commit 3bdf14b4 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: reuse path object in ext4_move_extents()



Reuse the path object in ext4_move_extents() so we don't unnecessarily
free and reallocate it.

Also clean up the get_ext_path() wrapper so that it has the same
semantics of freeing the path object on error as ext4_ext_find_extent().

Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent ee4bd0d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment