2004-11-06 01:08:50

by Chris Wright

[permalink] [raw]
Subject: [PATCH] fix typo in last procfs patch

Fix typo in patch to avoid oops in proc_delete_inode.

base.c: In function `proc_pid_make_inode':
base.c:783: error: `node' undeclared (first use in this function)
base.c:783: error: (Each undeclared identifier is reported only once
base.c:783: error: for each function it appears in.)

Signed-off-by: Chris Wright <[email protected]>

===== fs/proc/base.c 1.20 vs edited =====
--- 1.20/fs/proc/base.c 2004-11-03 18:25:16 -08:00
+++ edited/fs/proc/base.c 2004-11-05 17:02:30 -08:00
@@ -780,7 +780,7 @@
return inode;

out_unlock:
- node->u.generic_ip = NULL;
+ inode->u.generic_ip = NULL;
iput(inode);
return NULL;
}