gfs2: Add new gfs2_iomap_get helper
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 27 Mar 2021 20:56:40 +0000 (21:56 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 3 Apr 2021 19:38:11 +0000 (21:38 +0200)
commit54992257fe4bb9f76f66b3863492aa8cc5567790
treec055aadde61675d1ad5da75a0a3e6af494ce467a
parent0bf3e3273b922e50cae4bcc80476df19cea057fb
gfs2: Add new gfs2_iomap_get helper

Rename the current gfs2_iomap_get and gfs2_iomap_alloc functions to __*.
Add a new gfs2_iomap_get helper that doesn't expose struct metapath.
Rename gfs2_iomap_get_alloc to gfs2_iomap_alloc.  Use the new helpers
where they make sense.

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