Skip to content

btrfs: fixes for an error path when creating a subvolume

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: fix invalid delayed ref after subvolume creation failurefs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/extent-tree.c +3 more+31 -220 replies
2/3btrfs: fix warning when freeing leaf after subvolume creation failurefs/btrfs/ioctl.c+4 -30 replies
3/3btrfs: skip transaction commit after failure to create subvolumefs/btrfs/ioctl.c+4 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNikolay Borisov
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs: fixes for an error path when creating a subvolume

From: Filipe Manana <[email protected]>

The following patches fix an error path when creating a subvolume, exposed by generic/475.

Filipe Manana (3):
btrfs: fix invalid delayed ref after subvolume creation failure
btrfs: fix warning when freeing leaf after subvolume creation failure
btrfs: skip transaction commit after failure to create subvolume

 fs/btrfs/ctree.c           | 17 +++++++++--------
 fs/btrfs/ctree.h           |  7 ++++++-
 fs/btrfs/extent-tree.c     | 13 +++++++------
 fs/btrfs/free-space-tree.c |  4 ++--
 fs/btrfs/ioctl.c           | 18 ++++++++++--------
 fs/btrfs/qgroup.c          |  3 ++-
 6 files changed, 36 insertions(+), 26 deletions(-)
Signature · 1 line
2.33.0