OSDN Git Service

Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-kernel-docs/linux-2.6.git] / fs / autofs4 / autofs_i.h
index d85f42f..2d4ae40 100644 (file)
@@ -131,7 +131,7 @@ static inline struct autofs_info *autofs4_dentry_ino(struct dentry *dentry)
    filesystem without "magic".) */
 
 static inline int autofs4_oz_mode(struct autofs_sb_info *sbi) {
-       return sbi->catatonic || process_group(current) == sbi->oz_pgrp;
+       return sbi->catatonic || task_pgrp_nr(current) == sbi->oz_pgrp;
 }
 
 /* Does a dentry have some pending activity? */