Btrfs: prevent qgroup config corruption by qgroup destroy
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Btrfs: ignore orphan qgroup relationsfs/ | +7 | 0 replies | |
| 2/2 | Btrfs: prevent qgroup destroy when there are still relationsfs/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Btrfs: prevent qgroup config corruption by qgroup destroy
When destroying an active qgroup with qgroup destroy, the internal config will become corrupt. This series adds 2 fixes: the first add a recovery, if the config is already corrupt, and the second prevents the destroy if it is still active.
Arne Jansen (2):
btrfs: ignore orphan qgroup relations
btrfs: prevent qgroup destroy when there are still relations
fs/btrfs/qgroup.c | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.3.4