Skip to content

Commit

Permalink
autofs4: Wrong format for printing dentry
Browse files Browse the repository at this point in the history
%pD for struct file*, %pd for struct dentry*.

Fixes: a455589 ("assorted conversions to %p[dD]")
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Rasmus Villemoes authored and Al Viro committed Feb 20, 2015
1 parent fcbc32b commit 76bf3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/autofs4/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static int autofs4_dir_open(struct inode *inode, struct file *file)
struct dentry *dentry = file->f_path.dentry;
struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb);

DPRINTK("file=%p dentry=%p %pD", file, dentry, dentry);
DPRINTK("file=%p dentry=%p %pd", file, dentry, dentry);

if (autofs4_oz_mode(sbi))
goto out;
Expand Down

0 comments on commit 76bf3f6

Please sign in to comment.