mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 14:30:00 +00:00
[SCSI] aacraid: correct valid container response in management ioctl
During an Adapter Initiated scan request, the query disk ioctl reports a value of 2 rather than 1 for the valid field. This presents a problem for some legacy management applications. Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
ef1d8df72f
commit
fd622b1b4e
@ -2070,7 +2070,7 @@ static int query_disk(struct aac_dev *dev, void __user *arg)
|
||||
}
|
||||
else return -EINVAL;
|
||||
|
||||
qd.valid = fsa_dev_ptr[qd.cnum].valid;
|
||||
qd.valid = fsa_dev_ptr[qd.cnum].valid != 0;
|
||||
qd.locked = fsa_dev_ptr[qd.cnum].locked;
|
||||
qd.deleted = fsa_dev_ptr[qd.cnum].deleted;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user