lkml.org 
[lkml]   [2009]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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;


    \
     
     \ /
      Last update: 2009-01-18 08:41    [W:0.021 / U:60.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site