Skip to content

Commit

Permalink
autofs4 - fix debug print in autofs4_lookup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ian Kent authored and Al Viro committed Jan 18, 2011
1 parent 8931221 commit c0bcc9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/autofs4/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c0bcc9d

Please sign in to comment.