diff options
| author | David Sterba <dsterba@suse.com> | 2025-06-04 11:29:25 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:53:31 +0200 |
| commit | 7ce22f62b2c5b022841ef51b7f8636484dc713a6 (patch) | |
| tree | cad035908a1130713d7078fbb73324ae81d1e386 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ec41c345477fe81a17f0c0a95957ce5bc9bd07b8 (diff) | |
btrfs: use on-stack variable for block reserve in btrfs_truncate()
We can avoid potential memory allocation failure in btrfs_truncate() as
the block reserve lifetime is limited to the scope of the function. This
requires +48 bytes on stack.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
