ext4: remove unnecessary duplicate check in ext4_map_blocks()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 23 May 2025 16:08:45 +0000 (19:08 +0300)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 11 Jul 2025 20:52:59 +0000 (16:52 -0400)
commitc5da1f66940d8015cbf95c2501345c83eb6ba0ab
treedc6e7ce50df572f29e755c9cf4fd98377ab07639
parentb6f3801727e47a0ec45ea86fa17ca727f1d4940b
ext4: remove unnecessary duplicate check in ext4_map_blocks()

The previous lines ensure that EXT4_GET_BLOCKS_QUERY_LAST_IN_LEAF is
set so remove this duplicate check.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://patch.msgid.link/aDCdjUhpzxB64vkD@stanley.mountain
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c