diff options
| author | Bart Van Assche <[email protected]> | 2022-07-14 11:06:50 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-07-14 12:14:31 -0600 |
| commit | 67a7b9a5b54fa3a1b9e4ab5b9808198680cba082 (patch) | |
| tree | 01fb7db4b9f0390476f431d6ceabe36c0abef69b /tools/perf/scripts/python/stackcollapse.py | |
| parent | a3282b432f64e9b88632bd380c90157673dce75b (diff) | |
dm/ebs: Change 'int rw' into 'enum req_op op'
Improve static type checking by using type 'enum req_op' instead of 'int'.
Make the role of the 'rw' arguments more clear by renaming these into
'op' (operation). This patch does not change any functionality since
REQ_OP_READ = READ = 0 and REQ_OP_WRITE = WRITE = 1.
Cc: Alasdair Kergon <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: Heinz Mauelshagen <[email protected]>
Cc: Mikulas Patocka <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions