Changes made to ext4 over time have resulted in some cruft accumulating in ext4_ext_handle_unwritten_extents(). This patch series removes some dead and some redundant code, simplifies and corrects some error handling, and adds explicit error logging when an unexpected internal error or file system corruption may have occurred. Eric Whitney (4): ext4: remove dead GET_BLOCKS_ZERO code ext4: remove redundant GET_BLOCKS_CONVERT code ext4: clean up GET_BLOCKS_PRE_IO error handling ext4: clean up ext4_ext_convert_to_initialized() error handling fs/ext4/extents.c | 81 ++++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 36 deletions(-) -- 2.20.1