gfs2: cleanup: call gfs2_rgrp_ondisk2lvb from gfs2_rgrp_out
authorBob Peterson <rpeterso@redhat.com>
Thu, 26 Jul 2018 17:59:13 +0000 (12:59 -0500)
committerBob Peterson <rpeterso@redhat.com>
Thu, 26 Jul 2018 19:49:43 +0000 (14:49 -0500)
commit3f30f929bb17877ebc1653c6f3ff41863f1ba524
tree918cb9ecd228bd9f51630307ad9b560ec7dfd2aa
parent776125785a87ff05d49938bd5b9f336f2a05bff6
gfs2: cleanup: call gfs2_rgrp_ondisk2lvb from gfs2_rgrp_out

Before this patch gfs2_rgrp_ondisk2lvb was called after every call
to gfs2_rgrp_out. This patch just calls it directly from within
gfs2_rgrp_out, and moves the function to be before it so we don't
need a function prototype.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/rgrp.c