Hi,
a few more regression fixes and stable patches, mostly one-liners.
Please pull, thanks.
Regression fixes:
- fix pointer/ERR_PTR mismatch returned from memdup_user
- reset dedicated zoned mode relocation block group to avoid using it
and filling it without any recourse
Fixes:
- handle a case to FITRIM range (also to make fstests/generic/260 work)
- fix warning when extent buffer state and pages get out of sync after
an IO error
- fix transaction abort when syncing due to missing mapping error set on
metadata inode after inlining a compressed file
- fix transaction abort due to tree-log and zoned mode interacting in an
unexpected way
- fix memory leak of additional extent data when qgroup reservation
fails
- do proper handling of slot search call when deleting root refs
----------------------------------------------------------------
The following changes since commit daf87e953527b03c0bd4c0f41d704ba71186256d:
btrfs: fix the memory leak caused in lzo_compress_pages() (2021-11-26 16:10:05 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.16-rc4-tag
for you to fetch changes up to 8289ed9f93bef2762f9184e136d994734b16d997:
btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling (2021-12-08 15:45:27 +0100)
----------------------------------------------------------------
Dan Carpenter (1):
btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2()
Johannes Thumshirn (2):
btrfs: free exchange changeset on failures
btrfs: zoned: clear data relocation bg on zone finish
Josef Bacik (3):
btrfs: fail if fstrim_range->start == U64_MAX
btrfs: clear extent buffer uptodate when we fail to write it
btrfs: call mapping_set_error() on btree inode with a write error
Naohiro Aota (1):
btrfs: fix re-dirty process of tree-log nodes
Qu Wenruo (1):
btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
fs/btrfs/delalloc-space.c | 12 +++++++++---
fs/btrfs/extent-tree.c | 3 +++
fs/btrfs/extent_io.c | 14 ++++++++++++++
fs/btrfs/ioctl.c | 6 ++----
fs/btrfs/root-tree.c | 3 ++-
fs/btrfs/tree-log.c | 5 +++--
fs/btrfs/zoned.c | 2 ++
7 files changed, 35 insertions(+), 10 deletions(-)
The pull request you sent on Fri, 10 Dec 2021 21:41:43 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.16-rc4-tag
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6f513529296fd4f696afb4354c46508abe646541
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html