[GIT PULL] GFS2 fixes for 5.7

From: Andreas Gruenbacher
Date: Tue May 12 2020 - 10:54:59 EST


Hi Linus,

could you please pull the following fixes for gfs2?

Thanks a lot,
Andreas

The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:

Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v5.7-rc1.fixes

for you to fetch changes up to b14c94908b1b884276a6608dea3d0b1b510338b7:

Revert "gfs2: Don't demote a glock until its revokes are written" (2020-05-08 15:01:25 -0500)

----------------------------------------------------------------
Various gfs2 fixes

Fixes for bugs prior to v5.7-rc1:
- Fix random block reads when reading fragmented journals (v5.2).
- Fix a possible random memory access in gfs2_walk_metadata (v5.3).

Fixes for v5.7-rc1:
- Fix several overlooked gfs2_qa_get / gfs2_qa_put imbalances.
- Fix several bugs in the new filesystem withdraw logic.

----------------------------------------------------------------
Andreas Gruenbacher (3):
gfs2: Another gfs2_walk_metadata fix
gfs2: More gfs2_find_jhead fixes
gfs2: Grab glock reference sooner in gfs2_add_revoke

Bob Peterson (11):
gfs2: fix withdraw sequence deadlock
gfs2: Fix error exit in do_xmote
gfs2: Fix BUG during unmount after file system withdraw
gfs2: Fix use-after-free in gfs2_logd after withdraw
gfs2: Fix problems regarding gfs2_qa_get and _put
gfs2: Change BUG_ON to an assert_withdraw in gfs2_quota_change
gfs2: remove check for quotas on in gfs2_quota_check
gfs2: move privileged user check to gfs2_quota_lock_check
gfs2: don't call quota_unhold if quotas are not locked
gfs2: If go_sync returns error, withdraw but skip invalidate
Revert "gfs2: Don't demote a glock until its revokes are written"

fs/gfs2/bmap.c | 16 +++++++++-------
fs/gfs2/glock.c | 6 ++----
fs/gfs2/inode.c | 7 ++++---
fs/gfs2/log.c | 11 ++++++++---
fs/gfs2/lops.c | 19 ++++++++++++-------
fs/gfs2/meta_io.c | 2 +-
fs/gfs2/quota.c | 13 +++++--------
fs/gfs2/quota.h | 3 ++-
fs/gfs2/super.c | 1 -
fs/gfs2/util.c | 10 ++++++----
10 files changed, 49 insertions(+), 39 deletions(-)