gfs2: Turn gfs2_extent_map into gfs2_{get,alloc}_extent
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 31 Mar 2021 21:17:38 +0000 (23:17 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 3 Apr 2021 19:38:11 +0000 (21:38 +0200)
commit9153dac13a6966b63183bac450d5cd39b07cc85c
tree1ec293a4bb6fc6656e457d855027a10d7ec953c0
parent54992257fe4bb9f76f66b3863492aa8cc5567790
gfs2: Turn gfs2_extent_map into gfs2_{get,alloc}_extent

Convert gfs2_extent_map to iomap and split it into gfs2_get_extent and
gfs2_alloc_extent.  Instead of hardcoding the extent size, pass it in
via the extlen parameter.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/dir.c
fs/gfs2/quota.c
fs/gfs2/recovery.c