diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2018-01-23 14:46:53 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:36 +0200 |
| commit | bc5511d0eda1c2534aa3cedb485eae1fc354f2dc (patch) | |
| tree | 59ae4fb7db92adf90024cd10a231e4d7b9d46de4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | btrfs: Move error handling of btrfs_start_dirty_block_groups closer to call site (diff) | |
| download | linux-bc5511d0eda1c2534aa3cedb485eae1fc354f2dc.tar.gz linux-bc5511d0eda1c2534aa3cedb485eae1fc354f2dc.zip | |
btrfs: Use schedule_timeout_interruptible
Instead of manually fiddling with the state of the task
(RUNNING->INTERRUPTIBLE->RUNNING) again just use schedule_timeout_interruptible
which adjusts the task state as needed. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
