Whamcloud - gitweb
- 2.6 fixes landed
[fs/lustre-release.git] / lustre / obdclass / lprocfs_status.c
index 0be3cd9..a5ad77c 100644 (file)
@@ -505,7 +505,7 @@ struct seq_operations lprocfs_stats_seq_sops = {
 
 static int lprocfs_stats_seq_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;