diff options
| author | Bart Van Assche <[email protected]> | 2017-06-02 14:22:00 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-12 21:01:37 -0400 |
| commit | 08f784364fef627650e471c7ae342f1da1c57bbf (patch) | |
| tree | 60bb90495d2b40869bd8c71494b7bda5034764a2 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | be4c186c80113f95a5946594687a8e70f876e857 (diff) | |
scsi: Make scsi_mq_prep_fn() call scsi_init_command()
This patch reduces code duplication. There are two functional changes in
this patch:
- It causes scsi_mq_prep_fn() to clear driver-private command data, just
like the already upstream commit 1bad6c4a57ef ("scsi: zero per-cmd
private driver data for each MQ I/O").
- The initialization of .prot_sdb is moved from scsi_mq_prep_fn() into
scsi_init_request().
[mkp: applied by hand]
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions