gfs2: Turn gfs2_meta_indirect_buffer into gfs2_meta_buffer
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 25 Mar 2021 17:48:49 +0000 (18:48 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 3 Apr 2021 19:38:12 +0000 (21:38 +0200)
commit6d8da302aedf9ff32c1579cbf91705a78538cb9e
tree899736abae733fb5cf2dc8403ef320f3aa02452a
parent152f58c9af21abf913699e671b425fd38447b170
gfs2: Turn gfs2_meta_indirect_buffer into gfs2_meta_buffer

Instead of only supporting GFS2_METATYPE_DI and GFS2_METATYPE_IN blocks,
make the block type a parameter of gfs2_meta_indirect_buffer and rename
the function to gfs2_meta_buffer.

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