scsi: move scsi_dispatch_cmd to scsi_lib.c
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Sep 2014 01:23:07 +0000 (18:23 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 18:57:03 +0000 (19:57 +0100)
commit82042a2cdb55cd8402207f14a6e2c24d7a5febe8
tree3c1e9660a193d895ddd736775305acc668c8576c
parent3c356bde19e9a728b26a231a23099c8057dbe881
scsi: move scsi_dispatch_cmd to scsi_lib.c

scsi_lib.c is where the rest of the I/O submission path lives, so move
scsi_dispatch_cmd there and mark it static.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/scsi.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h