[SCSI] libsas: convert ha->state to flags
authorDan Williams <dan.j.williams@intel.com>
Tue, 20 Dec 2011 01:02:25 +0000 (17:02 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 19:47:29 +0000 (13:47 -0600)
commitf8daa6e6d83f60a721752cb53433bfdc1503b45f
tree66798b2d2763a53acada47040c86f7c094430f0a
parentb15ebe0b5d0b95aeb1d84cae3649df1e0e065e9b
[SCSI] libsas: convert ha->state to flags

In preparation for adding new states (SAS_HA_DRAINING, SAS_HA_FROZEN),
convert ha->state into a set of flags.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_internal.h
include/scsi/libsas.h