]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9b039a5328edd2d45b4407e5ba6de1192c4064b
tree508c5f64ac507d8248f591d9e1a6da93379004e5
parent3c0d6c7727ffd2ab82c276e466d2ac86d8b1c6d7
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