autofs4: make autofs log prints consistent
Use the pr_*() print in AUTOFS_*() macros instead of printks and include the module name in log message macros. Also use the AUTOFS_*() macros everywhere instead of raw printks. Signed-off-by: Ian Kent <raven@themaw.net> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -373,7 +373,7 @@ static int autofs_dev_ioctl_setpipefd(struct file *fp,
|
||||
new_pid = get_task_pid(current, PIDTYPE_PGID);
|
||||
|
||||
if (ns_of_pid(new_pid) != ns_of_pid(sbi->oz_pgrp)) {
|
||||
AUTOFS_WARN("Not allowed to change PID namespace");
|
||||
AUTOFS_WARN("not allowed to change PID namespace");
|
||||
err = -EINVAL;
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user