diff options
| author | Nikolay Borisov <[email protected]> | 2019-03-12 15:20:30 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-05-02 11:48:19 +0000 |
| commit | 7447555fe7765d7823f5db7760bfdeba035b7bad (patch) | |
| tree | a390453fc43d1788dacce25bbdf885192832d580 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | btrfs: Set io_tree only once in submit_compressed_extents (diff) | |
| download | kernel-7447555fe7765d7823f5db7760bfdeba035b7bad.tar.gz kernel-7447555fe7765d7823f5db7760bfdeba035b7bad.zip | |
btrfs: Factor out common extent locking code in submit_compressed_extents
Irrespective of whether the compress code fell back to uncompressed or
a compressed extent has to be submitted, the extent range is always
locked. So factor out the common lock_extent call at the beginning of
the loop. No functional changes just removes one duplicate lock_extent
call.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
