Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24 /fs/autofs4/root.c

Filename:/fs/autofs4/root.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.25-rc1-git4  2.6.25-rc2  2.6.25-rc3  2.6.25-rc4  2.6.25-rc5  2.6.25-rc6 

Location
[  2.6.24
  [  fs
    [  autofs4
       o  root.c

Patch

diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index 45ff3d6..2bbcc81 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -582,7 +582,7 @@ static struct dentry *autofs4_lookup(struct inode *dir, struct dentry *dentry, s
    oz_mode = autofs4_oz_mode(sbi);
 
    DPRINTK("pid = %u, pgrp = %u, catatonic = %d, oz_mode = %d",
-       current->pid, process_group(current), sbi->catatonic, oz_mode);
+       current->pid, task_pgrp_nr(current), sbi->catatonic, oz_mode);
 
    unhashed = autofs4_lookup_unhashed(sbi, dentry->d_parent, &dentry->d_name);
    if (!unhashed) {
@@ -976,7 +976,7 @@ static int autofs4_root_ioctl(struct inode *inode, struct file *filp,
    void __user *p = (void __user *)arg;
 
    DPRINTK("cmd = 0x%08x, arg = 0x%08lx, sbi = %p, pgrp = %u",
-      cmd,arg,sbi,process_group(current));
+      cmd,arg,sbi,task_pgrp_nr(current));
 
    if (_IOC_TYPE(cmd) != _IOC_TYPE(AUTOFS_IOC_FIRST) ||
         _IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT)


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.