aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-07-14 11:07:23 -0700
committerJens Axboe <[email protected]>2022-07-14 12:14:33 -0600
commit5d12ce77e1e677590de13468fe1a497388de3a9e (patch)
tree12983ef8624500e32286c56363ba480a49ad143d /tools/perf/scripts/python
parent6669797b0dd41ced457760b6e1014fdda8ce19ce (diff)
fs/nfs: Use enum req_op where appropriate
Improve static type checking by using enum req_op for request operations. Rename an 'rw' argument into 'op' since that name is typically used for request operations. This patch does not change any functionality. Note: REQ_OP_READ = READ = 0 and REQ_OP_WRITE = WRITE = 1. Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Cc: Christoph Hellwig <[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')
0 files changed, 0 insertions, 0 deletions