Skip to contentSkip to conversation

xfs: small fixes for 5.9

GIT PULL Merged Darrick J. Wong 2 participants 2 messages Sep 2, 2020 VFS

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull these various corruption fixes that have come in during the past month. 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 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 125eac243806e021f33a1fdea3687eccbb9f7636:

xfs: initialize the shortform attr header padding entry (2020-08-27 08:01:31 -0700)

----------------------------------------------------------------
Fixes for 5.9:
- Avoid a log recovery failure for an insert range operation by rolling deferred ops incrementally instead of at the end.
- Fix an off-by-one error when calculating log space reservations for anything involving an inode allocation or free.
- Fix a broken shortform xattr verifier.
- Ensure that the shortform xattr header padding is always initialized to zero.

----------------------------------------------------------------
Brian Foster (2):
xfs: finish dfops on every insert range shift iteration
xfs: fix off-by-one in inode alloc block reservation calculation

Darrick J. Wong (1):
xfs: initialize the shortform attr header padding entry

Eric Sandeen (1):
xfs: fix boundary test in xfs_attr_shortform_verify

 fs/xfs/libxfs/xfs_attr_leaf.c   | 8 +++++---
 fs/xfs/libxfs/xfs_ialloc.c      | 4 ++--
 fs/xfs/libxfs/xfs_trans_space.h | 2 +-
 fs/xfs/xfs_bmap_util.c          | 2 +-
 4 files changed, 9 insertions(+), 7 deletions(-)