[GIT PULL] xfs: bug fixes for 5.19-rc3

From: Darrick J. Wong
Date: Sun Jun 19 2022 - 00:15:09 EST


Hi Linus,

Please pull this branch containing bug fixes for XFS for 5.19-rc3.
There's not a whole lot this time around (I'm still on vacation) but
here are some important fixes for new features merged in -rc1.

As usual, I did a test-merge with upstream master as of a few minutes
ago, and it completed flawlessly. Please let me know if you encounter
any problems.

--D

The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.19-fixes-1

for you to fetch changes up to e89ab76d7e2564c65986add3d634cc5cf5bacf14:

xfs: preserve DIFLAG2_NREXT64 when setting other inode attributes (2022-06-15 23:13:33 -0700)

----------------------------------------------------------------
Fixes for 5.19-rc3:
- Fix a bug where inode flag changes would accidentally drop nrext64.
- Fix a race condition when toggling LARP mode.

----------------------------------------------------------------
Darrick J. Wong (3):
xfs: fix TOCTOU race involving the new logged xattrs control knob
xfs: fix variable state usage
xfs: preserve DIFLAG2_NREXT64 when setting other inode attributes

fs/xfs/libxfs/xfs_attr.c | 9 +++++----
fs/xfs/libxfs/xfs_attr.h | 12 +-----------
fs/xfs/libxfs/xfs_attr_leaf.c | 2 +-
fs/xfs/libxfs/xfs_da_btree.h | 4 +++-
fs/xfs/xfs_attr_item.c | 15 +++++++++------
fs/xfs/xfs_ioctl.c | 3 ++-
fs/xfs/xfs_xattr.c | 17 ++++++++++++++++-
7 files changed, 37 insertions(+), 25 deletions(-)