static char print_alua_state(int);
static int alua_check_sense(struct scsi_device *, struct scsi_sense_hdr *);
static char print_alua_state(int);
static int alua_check_sense(struct scsi_device *, struct scsi_sense_hdr *);
static int realloc_buffer(struct alua_dh_data *h, unsigned len)
{
if (h->buff && h->buff != h->inq)
static int realloc_buffer(struct alua_dh_data *h, unsigned len)
{
if (h->buff && h->buff != h->inq)
static int alua_activate(struct scsi_device *sdev,
activate_complete fn, void *data)
{
static int alua_activate(struct scsi_device *sdev,
activate_complete fn, void *data)
{
.check_sense = alua_check_sense,
.activate = alua_activate,
.set_params = alua_set_params,
.check_sense = alua_check_sense,
.activate = alua_activate,
.set_params = alua_set_params,