summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debugfs.c
diff options
context:
space:
mode:
authorBart Van Assche2017-08-31 01:58:39 +0200
committerMartin K. Petersen2017-09-01 05:06:12 +0200
commit64104f703212ff50e855bb2e2fa80d71db62c521 (patch)
tree13179e6dcb14cdde2fb7b2763bfcf6537dfac8c3 /drivers/scsi/scsi_debugfs.c
parentscsi: qla2xxx: Reset the logo flag, after target re-login. (diff)
downloadkernel-qcow2-linux-64104f703212ff50e855bb2e2fa80d71db62c521.tar.gz
kernel-qcow2-linux-64104f703212ff50e855bb2e2fa80d71db62c521.tar.xz
kernel-qcow2-linux-64104f703212ff50e855bb2e2fa80d71db62c521.zip
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/scsi_debugfs.c')
0 files changed, 0 insertions, 0 deletions