patch-2.4.23 linux-2.4.23/include/linux/proc_fs.h
Next file: linux-2.4.23/include/linux/ptrace.h
Previous file: linux-2.4.23/include/linux/pkt_sched.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/linux/proc_fs.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.22/include/linux/proc_fs.h linux-2.4.23/include/linux/proc_fs.h
@@ -209,4 +209,9 @@
#endif /* CONFIG_PROC_FS */
+static inline struct proc_dir_entry *PDE(const struct inode *inode)
+{
+ return (struct proc_dir_entry *)inode->u.generic_ip;
+}
+
#endif /* _LINUX_PROC_FS_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)