]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Lock imbalance on error path in gfs2_recover_one
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 5 Feb 2021 17:11:28 +0000 (18:11 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 5 Feb 2021 17:18:57 +0000 (18:18 +0100)
commit58a03c834332c858b7b971eb29554729aa2ecbe3
tree4f0ade04a6186dcb2056fb1c35c7b5d3ceb1e6c5
parentda14f1fd67d39b6f5902792d7241270ec6d9cadd
gfs2: Lock imbalance on error path in gfs2_recover_one

In gfs2_recover_one, fix a sd_log_flush_lock imbalance when a recovery
pass fails.

Fixes: d9f62bc550fc ("gfs2: allow journal replay to hold sd_log_flush_lock")
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/recovery.c