diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2017-12-13 10:25:40 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:19 +0100 |
| commit | 36f7894f66f286e454bf00d308b989c3423ba0da (patch) | |
| tree | d1a62090f04f66a2df0a50b37b4d2306f98b18ff /tools/perf/scripts/python/stackcollapse.py | |
| parent | btrfs: Remove redundant bio_get/bio_set pair from submit_one_bio (diff) | |
| download | linux-36f7894f66f286e454bf00d308b989c3423ba0da.tar.gz linux-36f7894f66f286e454bf00d308b989c3423ba0da.zip | |
btrfs: Remove redundant pair of bio_get/set in __btrfs_submit_dio_bio
The bio is not referenced after it has been submitted and the endio is
going to consume the sole reference on successful submission. On error,
the callers of __btrfs_submit_dio_bio do invoke bio_put so we don't
leak it either.
Signed-off-by: Nikolay Borisov <nborisov@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
