Whamcloud - gitweb
* refine local rpc code
authorniu <niu>
Thu, 15 Jan 2004 03:54:01 +0000 (03:54 +0000)
committerniu <niu>
Thu, 15 Jan 2004 03:54:01 +0000 (03:54 +0000)
* update from HEAD

lustre/osc/lproc_osc.c

index 695f410..ee22f1c 100644 (file)
@@ -404,7 +404,7 @@ struct seq_operations osc_rpc_stats_seq_sops = {
 
 static int osc_rpc_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;