Skip to contentSkip to conversation

fix typo in last procfs patch

PATCH New Chris Wright 1 participant 1 message Nov 6, 2004 Proc filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.)

===== fs/proc/base.c 1.20 vs edited =====

fs/proc/base.c +1 -1
@@ -780,7 +780,7 @@
 	return inode;
 
 out_unlock:
-	node->u.generic_ip = NULL;
+	inode->u.generic_ip = NULL;
 	iput(inode);
 	return NULL;
 }