From: niu Date: Thu, 15 Jan 2004 03:54:01 +0000 (+0000) Subject: * refine local rpc code X-Git-Tag: v1_7_0_51~2^20~24 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f34c3bd545493affb13ad6215b1fd43efb9cd1e1;p=fs%2Flustre-release.git * refine local rpc code * update from HEAD --- diff --git a/lustre/osc/lproc_osc.c b/lustre/osc/lproc_osc.c index 695f410..ee22f1c 100644 --- a/lustre/osc/lproc_osc.c +++ b/lustre/osc/lproc_osc.c @@ -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;