diff options
author | John Garry <[email protected]> | 2024-08-05 11:33:14 +0000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-08-12 18:03:38 -0400 |
commit | 0c150b30d3d51a8c2e09fadd004a640fa12985c6 (patch) | |
tree | 117730b88e913bb1cc334b2bc39c7f569612dcf3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5f36bd89a9948ae23571f9ffd122d7de1ced73e0 (diff) |
scsi: sd: Don't check if a write for REQ_ATOMIC
Flag REQ_ATOMIC can only be set for writes, so don't check if the operation
is also a write in sd_setup_read_write_cmnd().
Fixes: bf4ae8f2e640 ("scsi: sd: Atomic write support")
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kanchan Joshi <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions