Skip to content

btrfs: qgroup race fix and cleanup

[email protected] linux-btrfs 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: qgroup: fix race between quota disable and quota rescan ioctlfs/btrfs/qgroup.c+19 -73 replies
2/2btrfs: qgroup: remove no longer used fs_info->qgroup_ulistfs/btrfs/disk-io.c fs/btrfs/fs.h fs/btrfs/qgroup.c+1 -372 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBoris BurkovQu Wenruo
1/2R-b R-b
2/2R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] btrfs: qgroup race fix and cleanup

From: Filipe Manana <[email protected]>

Fix a race that leads to a use-after-free plus cleanup no longer used qgroup_ulist.

V2: Update patch 1/2 to return -ENOTCONN if quotas are disabled when
we try to start the rescan worker.
V3: Make patch 1/2 actually return -ENOTCONN.

Filipe Manana (2):
btrfs: qgroup: fix race between quota disable and quota rescan ioctl
btrfs: qgroup: remove no longer used fs_info->qgroup_ulist

 fs/btrfs/disk-io.c |  1 -
 fs/btrfs/fs.h      |  6 -----
 fs/btrfs/qgroup.c  | 57 ++++++++++++++++------------------------------
 3 files changed, 20 insertions(+), 44 deletions(-)
Signature · 1 line
2.47.2