From f34c3bd545493affb13ad6215b1fd43efb9cd1e1 Mon Sep 17 00:00:00 2001 From: niu Date: Thu, 15 Jan 2004 03:54:01 +0000 Subject: [PATCH] * refine local rpc code * update from HEAD --- lustre/osc/lproc_osc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1