Skip to contentSkip to conversation

Btrfs fixes for 7.2-rc4

GIT PULL Merged David Sterba 2 participants 2 messages Jul 14 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull a few fixes. Thanks.

- fix root structure leak after relocation error

- fix optimization when checksums are read from commit root, fall back to checksum root during relocation

- in tree-checker, validate length of inode reference in items

- validate properties before setting them

- validate free space cache entries on load

- transaction abort fixes

- fix printing of internal trees as signed numbers

- add error messages after critical lzo compression errors

----------------------------------------------------------------
The following changes since commit ae2eb64bfd9762536f60b690840adcdf622cdcce:

btrfs: fix use-after-free after relocation failure with concurrent COW (2026-06-09 18:22:47 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.2-rc3-tag

for you to fetch changes up to c0041b502e579a5c52e5cae918b90678f03faddd:

btrfs: print-tree: print header owner as signed (2026-06-30 02:02:03 +0200)

----------------------------------------------------------------
Boris Burkov (1):
btrfs: fallback to transaction csum tree on a commit root csum miss

Filipe Manana (3):
btrfs: validate properties before setting them
btrfs: fix transaction abort logic in btrfs_fileattr_set()
btrfs: fix root leak if its reloc root is unexpected in merge_reloc_roots()

Johannes Thumshirn (1):
btrfs: decentralize transaction aborts in create_reloc_root()

Qu Wenruo (2):
btrfs: lzo: add error message for invalid headers
btrfs: print-tree: print header owner as signed

Weiming Shi (1):
btrfs: tree-checker: validate INODE_REF's namelen

Xiang Mei (1):
btrfs: reject free space cache with more entries than pages

 fs/btrfs/file-item.c        | 26 +++++++++++++++++++++++++-
 fs/btrfs/free-space-cache.c |  3 +++
 fs/btrfs/ioctl.c            | 18 ++++++++++++------
 fs/btrfs/lzo.c              | 15 ++++++++++++---
 fs/btrfs/print-tree.c       |  8 ++++----
 fs/btrfs/props.c            | 16 +++++++++++++---
 fs/btrfs/relocation.c       | 15 +++++++--------
 fs/btrfs/tree-checker.c     |  6 ++++++
 8 files changed, 82 insertions(+), 25 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 14 Jul 2026 07:00:53 +0200:

The pull request you sent on Tue, 14 Jul 2026 07:00:53 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.2-rc3-tag

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7059bdf4f04a3e14f4fafb3ac35fdca913e3e21a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html