mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[SCSI] libsas: convert dev->gone to flags
In preparation for adding tracking of another device state "destroy". Signed-off-by: Dan Williams <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
312d3e5611
commit
e139942d77
5 changed files with 11 additions and 8 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue