aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2011-01-18 12:06:15 +0800
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-18 01:21:27 -0500
commitc0bcc9d55252012805300ca01b9b7a143b4daf85 (patch)
treeaf83d0afe51156377032608242ae24ee0c24e860 /fs/autofs4
parentvfs - fix dentry ref count in do_lookup() (diff)
downloadlinux-dev-c0bcc9d55252012805300ca01b9b7a143b4daf85.tar.xz
linux-dev-c0bcc9d55252012805300ca01b9b7a143b4daf85.zip
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>
Diffstat (limited to 'fs/autofs4')
-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
sbi = autofs4_sbi(dir->i_sb);
DPRINTK("pid = %u, pgrp = %u, catatonic = %d, oz_mode = %d",
- current->pid, task_pgrp_nr(current), sbi->catatonic, oz_mode);
+ current->pid, task_pgrp_nr(current), sbi->catatonic,
+ autofs4_oz_mode(sbi));
active = autofs4_lookup_active(dentry);
if (active) {