]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c73b32e53a72560ffa872e98ef90113f2e4ad56
tree659a170aaa12abf97f6638da5b352d7e184bdd9a
parent0eebe8b6015a39e0ead3cf55aafd0b7bd2d070bb
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