diff options
author | Bart Van Assche <[email protected]> | 2017-11-01 15:31:49 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-11-14 20:13:33 -0700 |
commit | 4fc930896db910c39999ed0e298798b57362772a (patch) | |
tree | 83a2fddecc884f4a44fe224b025302649af83aad /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 37cb8e1f8e10c6e9bd2a1b95cdda0620a21b0551 (diff) |
ide: Make ide_cdrom_prep_fs() initialize the sense buffer pointer
The changes introduced through commit 82ed4db499b8 assume that the
sense buffer pointer in struct scsi_request is initialized for all
requests - passthrough and filesystem requests. Hence make sure
that that pointer is initialized for filesystem requests. Remove
the memset() call that clears .cmd because the scsi_req_init()
call in ide_initialize_rq() already initializes the .cmd.
Fixes: commit 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hongxu Jia <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions