diff options
| author | David Sterba <[email protected]> | 2018-11-22 17:16:49 +0100 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 14:51:40 +0100 |
| commit | b3a0dd50c3951ec1b9a12ec39034194022fd8693 (patch) | |
| tree | 10898fe39a7737103169898b38a753db0b92aded /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 31fecccbd7b2174487a6b7361153b60a4eda6108 (diff) | |
btrfs: replace btrfs_io_bio::end_io with a simple helper
The end_io callback implemented as btrfs_io_bio_endio_readpage only
calls kfree. Also the callback is set only in case the csum buffer is
allocated and not pointing to the inline buffer. We can use that
information to drop the indirection and call a helper that will free the
csums only in the right case.
This shrinks struct btrfs_io_bio by 8 bytes.
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions