Skip to contentSkip to conversation

Btrfs fixes for 5.17-rc3

GIT PULL Merged David Sterba 2 participants 2 messages Feb 4, 2022 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a few fixes and error handling improvements. Please pull, thanks.

* fix deadlock between quota disable and qgroup rescan worker

* fix use-after-free after failure to create a snapshot

* skip warning on unmount after log cleanup failure

* don't start transaction for scrub if the fs is mounted read-only

* tree checker verifies item sizes

----------------------------------------------------------------
The following changes since commit 27cdfde181bcacd226c230b2fd831f6f5b8c215f:

btrfs: update writeback index when starting defrag (2022-01-24 18:16:28 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.17-rc2-tag

for you to fetch changes up to 40cdc509877bacb438213b83c7541c5e24a1d9ec:

btrfs: skip reserved bytes warning on unmount after log cleanup failure (2022-01-31 16:06:50 +0100)

----------------------------------------------------------------
Filipe Manana (2):
btrfs: fix use-after-free after failure to create a snapshot
btrfs: skip reserved bytes warning on unmount after log cleanup failure

Qu Wenruo (1):
btrfs: don't start transaction for scrub if the fs is mounted read-only

Shin'ichiro Kawasaki (1):
btrfs: fix deadlock between quota disable and qgroup rescan worker

Su Yue (2):
btrfs: tree-checker: check item_size for inode_item
btrfs: tree-checker: check item_size for dev_item

Tom Rix (1):
btrfs: fix use of uninitialized variable at rm device ioctl

 fs/btrfs/block-group.c  | 39 +++++++++++++++++++++++++++++++++++++--
 fs/btrfs/ctree.h        |  6 ++++++
 fs/btrfs/ioctl.c        |  7 ++-----
 fs/btrfs/qgroup.c       | 21 +++++++++++++++++++--
 fs/btrfs/transaction.c  | 24 ++++++++++++++++++++++++
 fs/btrfs/transaction.h  |  2 ++
 fs/btrfs/tree-checker.c | 15 +++++++++++++++
 fs/btrfs/tree-log.c     | 23 +++++++++++++++++++++++
 8 files changed, 128 insertions(+), 9 deletions(-)