Whamcloud - gitweb
- 2.6 fixes landed
[fs/lustre-release.git] / lustre / obdclass / class_obd.c
index a59a831..01cf385 100644 (file)
@@ -556,7 +556,7 @@ struct seq_operations obd_device_list_sops = {
 
 static int obd_device_list_open(struct inode *inode, struct file *file)
 {
-        struct proc_dir_entry *dp = inode->u.generic_ip;
+        struct proc_dir_entry *dp = PDE(inode);
         struct seq_file *seq;
         int rc = seq_open(file, &obd_device_list_sops);