summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-10-02 16:45:47 +0100
committerDavid Sterba <dsterba@suse.com>2026-10-12 19:16:24 +0200
commitba35b470084d97d729da87e6d2a1e55571a9aada (patch)
treee732363b36fbfba245a02226db3cfde70b7a30bf /tools/perf/scripts/python/stackcollapse.py
parent0388b5bd3a6eb8bcb20208c3b6dbee96fd30bbe0 (diff)
downloadlinux-ba35b470084d97d729da87e6d2a1e55571a9aada.tar.gz
linux-ba35b470084d97d729da87e6d2a1e55571a9aada.zip
btrfs: qgroup: abort transaction on failure to add qgroup relation
When adding a qgroup relation, if we fail to add the relation item from "dst" to "src", we attempt to delete the relation item from "src" to "dst" that we added just before, however we ignore the deletion result and if we failed to delete we leave an inconsistency in the quota root. So check the result of the deletion and if it fails, abort the transaction to avoid persisting an inconsistent state. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions