diff options
author | Mike Christie <michael.christie@oracle.com> | 2021-02-27 10:59:46 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-04 17:37:00 -0500 |
commit | 50ab9c47f51dbe3419e414ac6880273f58ac2849 (patch) | |
tree | 7c223cf166c2560dcd26d35852a5bcd41557bb6c /drivers/crypto/sa2ul.c | |
parent | 750a1d93f90583a270eb62f36e6d32ebbb6af779 (diff) |
scsi: target: srpt: Convert to new submission API
target_submit_cmd_map_sgls() is being removed, so convert srpt to the new
submission API.
srpt uses target_stop_session() to sync session shutdown with LIO core, so
we use target_init_cmd()/target_submit_prep()/target_submit(), because
target_init_cmd() will detect the target_stop_session() call and return an
error.
Link: https://lore.kernel.org/r/20210227170006.5077-6-michael.christie@oracle.com
Cc: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/crypto/sa2ul.c')
0 files changed, 0 insertions, 0 deletions