VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Pavel Emelyanov <xemul@openvz.org> 2007-10-18 23:40:44 -0700 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-10-19 11:53:43 -0700 commit: 69cccb887a35f3761b7ea62cdd2bee602868c735 parent: 6651fd561bc6fbc688542e9a5bf070c6485eebe8
Commit Summary:
Use task_pid_nr() instead of pid_nr(task_pid())
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/autofs/root.c b/fs/autofs/root.c
index 592f64037ae2..5efff3c0d886 100644
--- a/fs/autofs/root.c
+++ b/fs/autofs/root.c
@@ -214,7 +214,7 @@ static struct dentry *autofs_root_lookup(struct inode *dir, struct dentry *dentr
 
 	oz_mode = autofs_oz_mode(sbi);
 	DPRINTK(("autofs_lookup: pid = %u, pgrp = %u, catatonic = %d, "
-				"oz_mode = %d\n", pid_nr(task_pid(current)),
+				"oz_mode = %d\n", task_pid_nr(current),
 				task_pgrp_nr(current), sbi->catatonic,
 				oz_mode));