aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2011-01-17 23:06:15 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-18 01:21:27 -0500
commitc0bcc9d55252012805300ca01b9b7a143b4daf85 (patch)
treeaf83d0afe51156377032608242ae24ee0c24e860
parent8931221411f9ff950de8fd686dc5ab881394cb9a (diff)
autofs4 - fix debug print in autofs4_lookup()
oz_mode isn't defined any more, use autofs4_oz_mode(sbi) instead. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/autofs4/root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index 1dba035fc376..427129ab5292 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -488,7 +488,8 @@ static struct dentry *autofs4_lookup(struct inode *dir, struct dentry *dentry, s
488 sbi = autofs4_sbi(dir->i_sb); 488 sbi = autofs4_sbi(dir->i_sb);
489 489
490 DPRINTK("pid = %u, pgrp = %u, catatonic = %d, oz_mode = %d", 490 DPRINTK("pid = %u, pgrp = %u, catatonic = %d, oz_mode = %d",
491 current->pid, task_pgrp_nr(current), sbi->catatonic, oz_mode); 491 current->pid, task_pgrp_nr(current), sbi->catatonic,
492 autofs4_oz_mode(sbi));
492 493
493 active = autofs4_lookup_active(dentry); 494 active = autofs4_lookup_active(dentry);
494 if (active) { 495 if (active) {