diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-30 16:58:39 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-31 23:06:12 -0400 |
commit | 64104f703212ff50e855bb2e2fa80d71db62c521 (patch) | |
tree | 13179e6dcb14cdde2fb7b2763bfcf6537dfac8c3 /drivers/scsi/dc395x.c | |
parent | 3515832cc61467bfb87191a30401de1700e9956a (diff) | |
download | linux-64104f703212ff50e855bb2e2fa80d71db62c521.tar.gz |
scsi: Call scsi_initialize_rq() for filesystem requests
If a pass-through request is submitted then blk_get_request()
initializes that request by calling scsi_initialize_rq(). Also call this
function for filesystem requests. Introduce CMD_INITIALIZED to keep
track of whether or not a request has already been initialized.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Brian King <brking@linux.vnet.ibm.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dc395x.c')
0 files changed, 0 insertions, 0 deletions