Skip to contentSkip to conversation

autofs4: Wrong format for printing dentry

PATCH In review Rasmus Villemoes 2 participants 3 messages Feb 6, 2015 – Feb 12, 2015 Kernel automounter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autofs4: Wrong format for printing dentry

%pD for struct file*, %pd for struct dentry*.

Fixes a455589f181e ("assorted conversions to %p[dD]")
---
 fs/autofs4/root.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/autofs4/root.c +1 -1
index dbb5b7212ce1..7ba355b8d4ac 100644
@@ -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;
Signature · 1 line
2.1.3
#1 lore raw

Ping...

Quoted 21 lines · Rasmus Villemoes

%pD for struct file*, %pd for struct dentry*.

Fixes a455589f181e ("assorted conversions to %p[dD]")
---
 fs/autofs4/root.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/autofs4/root.c +1 -1
index dbb5b7212ce1..7ba355b8d4ac 100644
@@ -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;
maintainer
#2 lore raw
Quoted 1 line · Rasmus Villemoes

Ping...

The patch looks fine to me.
I'll check there are no other instances of this and send it to Al.

Quoted 24 lines · Rasmus Villemoes
Quoted 22 lines

%pD for struct file*, %pd for struct dentry*.

Fixes a455589f181e ("assorted conversions to %p[dD]")
---
 fs/autofs4/root.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/autofs4/root.c +1 -1
index dbb5b7212ce1..7ba355b8d4ac 100644
@@ -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;