Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fd622b1b4ef976fab4d2ac1cd5c8f4aece805765
Commit:     fd622b1b4ef976fab4d2ac1cd5c8f4aece805765
Parent:     ef1d8df72fce074584244a8e3c4ae91606ccd784
Author:     Salyzyn, Mark <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 10:59:19 2007 -0400
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 11:17:33 2007 -0500

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/aacraid/aachba.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index 0b6fd0b..80d4207 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to