ext4: split _ext4_fiemap
authorChristoph Hellwig <hch@lst.de>
Sat, 23 May 2020 07:30:08 +0000 (09:30 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:54 +0000 (23:16 -0400)
commit03a5ed24c9b8f0180a59ba7b7b9b9517fcf4335b
treed0f409560403614aef7dee7eb19b9d4eb14ac211
parent328e24ae14aeb8ef624ec181e0d546b05c34f031
ext4: split _ext4_fiemap

The fiemap and EXT4_IOC_GET_ES_CACHE cases share almost no code, so split
them into entirely separate functions.

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-2-hch@lst.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c