diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-11-30 09:25:25 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-30 09:25:25 -0800 |
commit | 4b4d11bbeca4e3ebb235c8c3c875a986a8c90427 (patch) | |
tree | d8ece4c5b58fbe344aff2d152602249c965d11a3 /fs/xfs/xfs_rtalloc.c | |
parent | cd14f15b0e64b4dffa50ec6914093336fb1ac285 (diff) | |
parent | 4c6dbfd2756bd83a0085ed804e2bb7be9cc16bc5 (diff) | |
download | linux-4b4d11bbeca4e3ebb235c8c3c875a986a8c90427.tar.bz2 |
Merge tag 'random-fixes-6.2_2022-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeC
xfs: various fixes for 6.2
This is an assorted collection of bug fixes that have been bundled
together. The first patch fixes a metadump corruption vector resulting
from a three-way race between a slow-running blkid process, the kernel
mounting, changing, and unmounting the fs, and xfs_db reading stale
block device pagecache contents.
The middle two patches address gcc warnings.
The final patch fixes a subtle corruption bug wherein making a delalloc
reservation on a filesystem with quotas enabled would sample the data
mapping, try to attach dquots, unlock the inode to attach the dquots,
relock the inode, and fail to reverify the sampled data. If another
process updated the data mapping while the inode was unlocked, the
reservation would proceed with stale data and corrupt the data fork.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
* tag 'random-fixes-6.2_2022-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
xfs: attach dquots to inode before reading data/cow fork mappings
xfs: shut up -Wuninitialized in xfsaild_push
xfs: use memcpy, not strncpy, to format the attr prefix during listxattr
xfs: invalidate block device page cache during unmount
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions