commit | cb0f32e12cded06e12ff19104eaf90c6f8310558 | [log] [tgz] |
---|---|---|
author | Mike Christie <mchristi@redhat.com> | Mon Jul 23 14:07:45 2018 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jul 30 23:17:53 2018 -0400 |
tree | 132ce615f2e4130c54d6d12d6269c59d64264cce | |
parent | ff07e4a414d963d5b1ee1446f05a451e591256de [diff] |
scsi: target: add helper to check if dev is configured This just adds a helper function to check if a device is configured and it converts the target users to use it. The next patch will add a backend module user so those types of modules do not have to know the lio core details. Signed-off-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>