diff options
| author | Boris Burkov <boris@bur.io> | 2024-01-10 17:30:00 -0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-01-31 08:42:47 +0100 |
| commit | a8df35619948bd8363d330c20a90c9a7fbff28c0 (patch) | |
| tree | 9292acb7702968d746d455f7c5194793577d340f /include/linux/overflow.h | |
| parent | 0c309d66dacddf8ce939b891d9ead4a8e21ad6f0 (diff) | |
btrfs: forbid deleting live subvol qgroup
If a subvolume still exists, forbid deleting its qgroup 0/subvolid.
This behavior generally leads to incorrect behavior in squotas and
doesn't have a legitimate purpose.
Fixes: cecbb533b5fc ("btrfs: record simple quota deltas in delayed refs")
CC: stable@vger.kernel.org # 5.4+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
