ext4: remove dead GET_BLOCKS_ZERO code
authorEric Whitney <enwlinux@gmail.com>
Thu, 30 Apr 2020 18:53:17 +0000 (14:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:50 +0000 (23:16 -0400)
commitee802f86899341d835c629a4ad9607135f1b71a2
tree59fe354f105213aea39af7ed9d4b904c2d2c54bd
parentb60ca3343e78761c6ebe6ff52c628893c8297b73
ext4: remove dead GET_BLOCKS_ZERO code

There's no call to ext4_map_blocks() in the current ext4 code with a
flags argument that combines EXT4_GET_BLOCKS_CONVERT and
EXT4_GET_BLOCKS_ZERO.  Remove the code that corresponds to this case
from ext4_ext_handle_unwritten_extents().

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200430185320.23001-2-enwlinux@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c