scsi: target/iscsi: Simplify iscsit_handle_text_cmd()
authorBart Van Assche <bvanassche@acm.org>
Fri, 25 Jan 2019 18:34:58 +0000 (10:34 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Feb 2019 02:37:50 +0000 (21:37 -0500)
commit47eefded1f70c1b6c77bee18bd1bf5d17642dcb9
treecfb5d73bad48e493de7ee0784f7f23df105ae854
parent658c31224de24ec0e00987b7d0c93128f455331f
scsi: target/iscsi: Simplify iscsit_handle_text_cmd()

Treat text_in and padding as a single buffer instead of two buffers.

Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/iscsi/iscsi_target.c