public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] coda: alloc_upcall: s/task_pgrp_nr/task_pgrp_vnr/
@ 2009-01-18  7:34 Oleg Nesterov
  2009-01-21  5:03 ` Jan Harkes
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Nesterov @ 2009-01-18  7:34 UTC (permalink / raw)
  To: Andrew Morton, jaharkes
  Cc: Eric W. Biederman, Pavel Emelyanov, Sukadev Bhattiprolu,
	linux-kernel

Needs an ack from maintaner, I do not know where coda_in_hdr->pgid is used.

alloc_upcall() is the last user of deprecated task_pgrp_nr(), change it
to use task_pgrp_vnr() instead. Or it really needs the pid_t from the global
namespace?

Signed-off-by: Oleg Nesterov <oleg@redhat.com>

--- CUR/fs/coda/upcall.c~3_CODA	2009-01-12 23:07:46.000000000 +0100
+++ CUR/fs/coda/upcall.c	2009-01-18 08:21:26.000000000 +0100
@@ -51,7 +51,7 @@ static void *alloc_upcall(int opcode, in
 
         inp->ih.opcode = opcode;
 	inp->ih.pid = current->pid;
-	inp->ih.pgid = task_pgrp_nr(current);
+	inp->ih.pgid = task_pgrp_vnr(current);
 	inp->ih.uid = current_fsuid();
 
 	return (void*)inp;


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-21 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-18  7:34 [PATCH] coda: alloc_upcall: s/task_pgrp_nr/task_pgrp_vnr/ Oleg Nesterov
2009-01-21  5:03 ` Jan Harkes
2009-01-21  6:03   ` Eric W. Biederman
2009-01-21 13:44   ` Oleg Nesterov

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