mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix typo in last procfs patch
@ 2004-11-06  1:08 Chris Wright
  0 siblings, 0 replies; only message in thread
From: Chris Wright @ 2004-11-06  1:08 UTC (permalink / raw)
  To: marcelo.tosatti; +Cc: linux-kernel

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@osdl.org>

===== 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;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-06  1:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06  1:08 [PATCH] fix typo in last procfs patch Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®