ext4: collapse ext4_convert_initialized_extents()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2014 18:35:09 +0000 (14:35 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2014 18:35:09 +0000 (14:35 -0400)
commite8b83d9303317fb068ad83d87991b610fe990ed5
tree5872e8a3ebb1126be98f722d55744d51f48b6a86
parent705912ca95f4bbdbb3be753e46bf30d6be15a5e8
ext4: collapse ext4_convert_initialized_extents()

The function ext4_convert_initialized_extents() is only called by a
single function --- ext4_ext_convert_initalized_extents().  Inline the
code and get rid of the unnecessary bits in order to simplify the code.

Rename ext4_ext_convert_initalized_extents() to
convert_initalized_extents() since it's a static function that is
actually only used in a single caller, ext4_ext_map_blocks().

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