aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2024-05-22 18:17:05 +0200
committerDavid Sterba <[email protected]>2024-07-11 15:33:27 +0200
commit4addc1ffd67ad34394674dc91379dc04cfdd2537 (patch)
treeef514cdb77b3706d43b5159db3a5ba7214aa9053 /tools/perf/scripts/python/syscall-counts.py
parent7733b8dd189a9e525c2d53bdd4efb26e04a8d737 (diff)
btrfs: qgroup: preallocate memory before adding a relation
There's a transaction joined in the qgroup relation add/remove ioctl and any error will lead to abort/error. We could lift the allocation from btrfs_add_qgroup_relation() and move it outside of the transaction context. The relation deletion does not need that. The ownership of the structure is moved to the add relation handler. Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions