diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-08-02 01:38:13 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-08 04:45:10 +0300 |
commit | 94ef80a5f0d72376a0dd2cfed0bd123123b405e2 (patch) | |
tree | 6a24e42e25a0afbd22dd70609f2e80511a489a3c /drivers/scsi/scsi_logging.c | |
parent | 09addb1d169ed2e67a0314e6275b42e7b8605d79 (diff) | |
download | linux-94ef80a5f0d72376a0dd2cfed0bd123123b405e2.tar.xz |
scsi: core: Complain if scsi_target_block() fails
If scsi_target_block() fails that can break the code that calls this
function. Hence complain loudly if scsi_target_block() fails.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_logging.c')
0 files changed, 0 insertions, 0 deletions