Skip to contentSkip to conversation

Btrfs fixes for 6.19-rc2

GIT PULL Merged David Sterba 2 participants 2 messages Dec 15, 2025 – Dec 16, 2025 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull the following fixes. Thanks.

- fix missing btrfs_path release after printing a relocation error message

- fix extent changeset leak on mmap write after failure to reserve metadata

- fix fs devices list structure freeing, it could be potentially leaked under some circumstances

- tree log fixes:

- fix incremental directory logging where inodes for new dentries were incorrectly skipped

- don't log conflicting inode if it's a directory moved in the current transaction

- regression fixes:

- fix incorrect btrfs_path freeing when it's auto-cleaned

- revert commit simplifying preallocation of temporary structures in qgroup functions, some cases were not handled properly

----------------------------------------------------------------
The following changes since commit 9e0e6577b3e5e5cf7c1acd178eb648e8f830ba17:

btrfs: remove unnecessary inode key in btrfs_log_all_parents() (2025-11-25 01:53:33 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.19-rc1-tag

for you to fetch changes up to 37343524f000d2a64359867d7024a73233d3b438:

btrfs: fix changeset leak on mmap write after failure to reserve metadata (2025-12-12 16:33:18 +0100)

----------------------------------------------------------------
Dan Carpenter (1):
btrfs: tests: fix double btrfs_path free in remove_extent_ref()

Deepanshu Kartikey (1):
btrfs: fix memory leak of fs_devices in degraded seed device path

Filipe Manana (3):
btrfs: don't log conflicting inode if it's a dir moved in the current transaction
btrfs: do not skip logging new dentries when logging a new name
btrfs: fix changeset leak on mmap write after failure to reserve metadata

Qu Wenruo (2):
Revert "btrfs: add ASSERTs on prealloc in qgroup functions"
btrfs: fix a potential path leak in print_data_reloc_error()

 fs/btrfs/file.c               |  3 ++-
 fs/btrfs/inode.c              |  1 +
 fs/btrfs/qgroup.c             | 27 ++++---------------------
 fs/btrfs/tests/qgroup-tests.c |  1 -
 fs/btrfs/tree-log.c           | 46 +++++++++++++++++++++++++++++++++++--------
 fs/btrfs/volumes.c            |  1 +
 6 files changed, 46 insertions(+), 33 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 15 Dec 2025 20:50:02 +0100:

The pull request you sent on Mon, 15 Dec 2025 20:50:02 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.19-rc1-tag

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/115fada16b5a9a5ee371ad656e56419fe0e63cfc

Thank you!

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