OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] vt: Fix comments to not refer to kill_proc
[PATCH] vt: Fix comments to not refer to kill_proc [message #16914] Mon, 11 December 2006 13:05
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
The code has been fixed to use kill_pid instead of kill_proc
fix the comments as well.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
 drivers/char/vt_ioctl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c
index ac5d60e..311493e 100644
--- a/drivers/char/vt_ioctl.c
+++ b/drivers/char/vt_ioctl.c
@@ -1087,7 +1087,7 @@ static void complete_change_console(struct vc_data *vc)
 	switch_screen(vc);
 
 	/*
-	 * This can't appear below a successful kill_proc().  If it did,
+	 * This can't appear below a successful kill_pid().  If it did,
 	 * then the *blank_screen operation could occur while X, having
 	 * received acqsig, is waking up on another processor.  This
 	 * condition can lead to overlapping accesses to the VGA range
@@ -1110,7 +1110,7 @@ static void complete_change_console(struct vc_data *vc)
 	 */
 	if (vc->vt_mode.mode == VT_PROCESS) {
 		/*
-		 * Send the signal as privileged - kill_proc() will
+		 * Send the signal as privileged - kill_pid() will
 		 * tell us if the process has gone or something else
 		 * is awry
 		 */
@@ -1170,7 +1170,7 @@ void change_console(struct vc_data *new_vc)
 	vc = vc_cons[fg_console].d;
 	if (vc->vt_mode.mode == VT_PROCESS) {
 		/*
-		 * Send the signal as privileged - kill_proc() will
+		 * Send the signal as privileged - kill_pid() will
 		 * tell us if the process has gone or something else
 		 * is awry
 		 */
-- 
1.4.4.1.g278f

_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
Previous Topic: [Fwd: Re: [patch 05/20] [Network namespace] Add NS_NET3 to NS_ALL.]
Next Topic: [PATCH] n_r3964: Use struct pid to track user space clients.
Goto Forum:
  


Current Time: Fri Feb 14 15:08:12 GMT 2025

Total time taken to generate the page: 0.09623 seconds