ext4: remove the call to fiemap_check_flags in ext4_fiemap
authorChristoph Hellwig <hch@lst.de>
Sat, 23 May 2020 07:30:09 +0000 (09:30 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:54 +0000 (23:16 -0400)
commitda565e792be540a5726af7f8cd50b282af0358b7
tree9ec92beeff64a8e6884bb5b6469ef72379e1198b
parent03a5ed24c9b8f0180a59ba7b7b9b9517fcf4335b
ext4: remove the call to fiemap_check_flags in ext4_fiemap

iomap_fiemap already calls fiemap_check_flags first thing, so this
additional check is redundant.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200523073016.2944131-3-hch@lst.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c