scsi: sg: factor out sg_fill_request_table()
authorHannes Reinecke <hare@suse.de>
Fri, 15 Sep 2017 12:05:15 +0000 (14:05 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Sep 2017 19:15:24 +0000 (15:15 -0400)
commit4759df905a474d245752c9dc94288e779b8734dd
treef45cbc99ec94f5ef40ae213a4fb8f9ba4b33ef69
parent9c95be0163a0a699ed7eda4727f485f8453580ef
scsi: sg: factor out sg_fill_request_table()

Factor out sg_fill_request_table() for better readability.

[mkp: typos, applied by hand]

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sg.c