diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-07 09:52:39 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 20:51:23 +0100 |
commit | e139942d77a6e3ac83bc322e826668054a8601d6 (patch) | |
tree | ef1741122d936f6fa9986a53f17e6f6108283649 /include/scsi | |
parent | [SCSI] libsas: remove ata_port.lock management duties from lldds (diff) | |
download | linux-e139942d77a6e3ac83bc322e826668054a8601d6.tar.xz linux-e139942d77a6e3ac83bc322e826668054a8601d6.zip |
[SCSI] libsas: convert dev->gone to flags
In preparation for adding tracking of another device state "destroy".
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libsas.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 42900fa95a03..d792b13cfcf5 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -173,7 +173,10 @@ struct sata_device { struct ata_taskfile tf; }; -/* ---------- Domain device ---------- */ +enum { + SAS_DEV_GONE, +}; + struct domain_device { enum sas_dev_type dev_type; @@ -205,7 +208,7 @@ struct domain_device { }; void *lldd_dev; - int gone; + unsigned long state; struct kref kref; }; |