aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorGiridhar Malavali <giridhar.malavali@qlogic.com>2009-03-24 12:07:57 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 10:22:45 -0400
commit94279edece858ce68ed20428a5df995750a3dcff (patch)
tree77ed6d36e5455493d8cb871a972fbfc33bc89a47 /drivers/scsi/qla2xxx
parenta5326f86ebbb153f62b0027a0f367a41f7edc1f6 (diff)
[SCSI] qla2xxx: Initialize FCE debugfs codes with the proper vha structure.
Earlier refactoring codes missed passing the proper vha structure and instead passed the 'hardware-descriptor' ha. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_dfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dfs.c b/drivers/scsi/qla2xxx/qla_dfs.c
index c66036da7d2b..3a9a6ca42266 100644
--- a/drivers/scsi/qla2xxx/qla_dfs.c
+++ b/drivers/scsi/qla2xxx/qla_dfs.c
@@ -71,7 +71,7 @@ qla2x00_dfs_fce_open(struct inode *inode, struct file *file)
71 71
72 mutex_unlock(&ha->fce_mutex); 72 mutex_unlock(&ha->fce_mutex);
73out: 73out:
74 return single_open(file, qla2x00_dfs_fce_show, ha); 74 return single_open(file, qla2x00_dfs_fce_show, vha);
75} 75}
76 76
77static int 77static int
@@ -145,7 +145,7 @@ create_dir:
145 atomic_inc(&qla2x00_dfs_root_count); 145 atomic_inc(&qla2x00_dfs_root_count);
146 146
147create_nodes: 147create_nodes:
148 ha->dfs_fce = debugfs_create_file("fce", S_IRUSR, ha->dfs_dir, ha, 148 ha->dfs_fce = debugfs_create_file("fce", S_IRUSR, ha->dfs_dir, vha,
149 &dfs_fce_ops); 149 &dfs_fce_ops);
150 if (!ha->dfs_fce) { 150 if (!ha->dfs_fce) {
151 qla_printk(KERN_NOTICE, ha, 151 qla_printk(KERN_NOTICE, ha,