summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-06 16:28:17 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-02-20 04:56:45 -0500
commit76bf3f6b1d6ac4c770bb121b0461c460aa068e64 (patch)
treea62376d1af9e0ecbf68cd2355a3368a90f14e07b
parentfcbc32bc6cb59cae8528dadbdc4958c9c814bba4 (diff)
downloadop-kernel-dev-76bf3f6b1d6ac4c770bb121b0461c460aa068e64.zip
op-kernel-dev-76bf3f6b1d6ac4c770bb121b0461c460aa068e64.tar.gz
autofs4: Wrong format for printing dentry
%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>
-rw-r--r--fs/autofs4/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index dbb5b72..7ba355b 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -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;
OpenPOWER on IntegriCloud