summaryrefslogtreecommitdiff
path: root/kernel/locking/spinlock.c
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2025-12-01 15:33:49 -0800
committerDavid Sterba <dsterba@suse.com>2026-02-03 06:38:31 +0100
commit9c46bcda5f347febdbb4d117fb21a37ffcec5fa4 (patch)
tree395c9ce99797178afbbfdb86b1de22d16bd1df63 /kernel/locking/spinlock.c
parenta5eb9024368dac8cc6b317c1577c6348e5334243 (diff)
btrfs: check squota parent usage on membership change
We could have detected the quick inherit bug more directly if we had an extra warning about squota hierarchy consistency while modifying the hierarchy. In squotas, the parent usage always simply adds up to the sum of its children, so we can just check for that when changing membership and detect more accounting bugs. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/locking/spinlock.c')
0 files changed, 0 insertions, 0 deletions