scsi: make sure that scsi_init_shared_tag_map() doesn't overwrite existing map
authorJens Axboe <jens.axboe@oracle.com>
Mon, 27 Oct 2008 18:20:59 +0000 (19:20 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 27 Oct 2008 18:25:30 +0000 (19:25 +0100)
commit3070f69b66b7ab2f02d8a2500edae07039c38508
tree508c5f64ac507d8248f591d9e1a6da93379004e5
parent1d63e726408dfdb3e10ed8f00c383b30ebb333d3
scsi: make sure that scsi_init_shared_tag_map() doesn't overwrite existing map

Right now callers have to check whether scsi_host->bqt is already
set up, it's much cleaner to just have scsi_init_shared_tag_map()
does this check on its own.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/scsi/scsi_tcq.h