patch-2.4.21 linux-2.4.21/fs/proc/inode.c
Next file: linux-2.4.21/fs/proc/proc_misc.c
Previous file: linux-2.4.21/fs/proc/generic.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-06-13 07:51:37.000000000 -0700
- Orig file:
linux-2.4.20/fs/proc/inode.c
- Orig date:
2001-11-17 11:24:32.000000000 -0800
diff -urN linux-2.4.20/fs/proc/inode.c linux-2.4.21/fs/proc/inode.c
@@ -22,7 +22,7 @@
extern void free_proc_entry(struct proc_dir_entry *);
-struct proc_dir_entry * de_get(struct proc_dir_entry *de)
+static inline struct proc_dir_entry * de_get(struct proc_dir_entry *de)
{
if (de)
atomic_inc(&de->count);
@@ -32,7 +32,7 @@
/*
* Decrements the use count and checks for deferred deletion.
*/
-void de_put(struct proc_dir_entry *de)
+static void de_put(struct proc_dir_entry *de)
{
if (de) {
lock_kernel();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)