[GIT PULL] xfs: fixes for 5.10-rc5

From: Darrick J. Wong
Date: Sat Nov 21 2020 - 12:17:47 EST


Hi Linus,

Please pull this branch containing the last of the bug fixes for 5.10.
The critical fixes are for a crash that someone reported in the xattr
code on 32-bit arm last week; and a revert of the rmap key comparison
change from last week as it was totally wrong. I need a vacation. :(

The branch merges cleanly with upstream as of a few minutes ago, so
please let me know if anything strange happens.

--D

The following changes since commit 2bd3fa793aaa7e98b74e3653fdcc72fa753913b5:

xfs: fix a missing unlock on error in xfs_fs_map_blocks (2020-11-11 08:07:37 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.10-fixes-7

for you to fetch changes up to eb8409071a1d47e3593cfe077107ac46853182ab:

xfs: revert "xfs: fix rmap key and record comparison functions" (2020-11-19 15:17:50 -0800)

----------------------------------------------------------------
Fixes for 5.10-rc5:
- Fix various deficiencies in online fsck's metadata checking code.
- Fix an integer casting bug in the xattr code on 32-bit systems.
- Fix a hang in an inode walk when the inode index is corrupt.
- Fix error codes being dropped when initializing per-AG structures
- Fix nowait directio writes that partially succeed but return EAGAIN.
- Revert last week's rmap comparison patch because it was wrong.

----------------------------------------------------------------
Darrick J. Wong (5):
xfs: fix the minrecs logic when dealing with inode root child blocks
xfs: strengthen rmap record flags checking
xfs: directory scrub should check the null bestfree entries too
xfs: ensure inobt record walks always make forward progress
xfs: revert "xfs: fix rmap key and record comparison functions"

Dave Chinner (1):
xfs: don't allow NOWAIT DIO across extent boundaries

Gao Xiang (1):
xfs: fix forkoff miscalculation related to XFS_LITINO(mp)

Yu Kuai (1):
xfs: return corresponding errcode if xfs_initialize_perag() fail

fs/xfs/libxfs/xfs_attr_leaf.c | 8 +++++++-
fs/xfs/libxfs/xfs_rmap_btree.c | 16 +++++++--------
fs/xfs/scrub/bmap.c | 8 ++++----
fs/xfs/scrub/btree.c | 45 +++++++++++++++++++++++++-----------------
fs/xfs/scrub/dir.c | 27 ++++++++++++++++++-------
fs/xfs/xfs_iomap.c | 29 +++++++++++++++++++++++++++
fs/xfs/xfs_iwalk.c | 27 ++++++++++++++++++++++---
fs/xfs/xfs_mount.c | 11 ++++++++---
8 files changed, 127 insertions(+), 44 deletions(-)