Messages in this thread Patch in this message |  | | | Date | Sun, 18 Jan 2009 08:34:53 +0100 | | From | Oleg Nesterov <> | | Subject | [PATCH] coda: alloc_upcall: s/task_pgrp_nr/task_pgrp_vnr/ |
| |
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;
|  |