autofs4: Wrong format for printing dentry
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 6 Feb 2015 15:28:17 +0000 (16:28 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2015 09:56:45 +0000 (04:56 -0500)
%pD for struct file*, %pd for struct dentry*.

Fixes: a455589f181e ("assorted conversions to %p[dD]")
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/root.c

index dbb5b7212ce162130727256d49351e3f2d2677c9..7ba355b8d4acd8ca4ec404a7ae334bddb7470f88 100644 (file)
@@ -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;