[PATCH] fix typo in last procfs patch

From: Chris Wright
Date: Fri Nov 05 2004 - 20:10:01 EST


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 <chrisw@xxxxxxxx>

===== 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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/