diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-07 12:52:39 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 23:51:23 +0400 |
commit | e139942d77a6e3ac83bc322e826668054a8601d6 (patch) | |
tree | ef1741122d936f6fa9986a53f17e6f6108283649 /include/scsi | |
parent | 312d3e56119a4bc5c36a96818f87f650c069ddc2 (diff) | |
download | linux-e139942d77a6e3ac83bc322e826668054a8601d6.tar.xz |
[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; }; |