gfs2: Report errors before withdraw
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 23 Jan 2020 18:19:38 +0000 (19:19 +0100)
committerBob Peterson <rpeterso@redhat.com>
Mon, 10 Feb 2020 13:39:45 +0000 (07:39 -0600)
commit8dc88ac68df89851488a60b8f1582fe466f41a64
tree659a170aaa12abf97f6638da5b352d7e184bdd9a
parentbadb55ec208adc4c406ed084f486deb1f9f5baa0
gfs2: Report errors before withdraw

In gfs2_rgrp_verify and compute_bitstructs, make sure to report errors before
withdrawing the filesystem: otherwise, when we withdraw first and withdraw is
configured to panic, we'll never get to the error reporting.

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