mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Use task_pid_nr() instead of pid_nr(task_pid())
There are two places that do so - the cgroups subsystem and the autofs code. Signed-off-by: Pavel Emelyanov <[email protected]> Cc: Ian Kent <[email protected]> Cc: Paul Menage <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6651fd561b
commit
69cccb887a
2 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue