public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] autofs4: Wrong format for printing dentry
@ 2015-02-06 15:28 Rasmus Villemoes
  2015-02-11 20:41 ` Rasmus Villemoes
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus Villemoes @ 2015-02-06 15:28 UTC (permalink / raw)
  To: Ian Kent; +Cc: Al Viro, Rasmus Villemoes, autofs, linux-kernel

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

Fixes: a455589f181e ("assorted conversions to %p[dD]")
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
 fs/autofs4/root.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index dbb5b7212ce1..7ba355b8d4ac 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;
-- 
2.1.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] autofs4: Wrong format for printing dentry
  2015-02-06 15:28 [PATCH] autofs4: Wrong format for printing dentry Rasmus Villemoes
@ 2015-02-11 20:41 ` Rasmus Villemoes
  2015-02-12  1:08   ` Ian Kent
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus Villemoes @ 2015-02-11 20:41 UTC (permalink / raw)
  To: Ian Kent; +Cc: Al Viro, autofs, linux-kernel

Ping...

On Fri, Feb 06 2015, Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote:

> %pD for struct file*, %pd for struct dentry*.
>
> Fixes: a455589f181e ("assorted conversions to %p[dD]")
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
>  fs/autofs4/root.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
> index dbb5b7212ce1..7ba355b8d4ac 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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] autofs4: Wrong format for printing dentry
  2015-02-11 20:41 ` Rasmus Villemoes
@ 2015-02-12  1:08   ` Ian Kent
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Kent @ 2015-02-12  1:08 UTC (permalink / raw)
  To: Rasmus Villemoes; +Cc: Al Viro, autofs, linux-kernel

On Wed, 2015-02-11 at 21:41 +0100, Rasmus Villemoes wrote:
> Ping...

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

> 
> On Fri, Feb 06 2015, Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote:
> 
> > %pD for struct file*, %pd for struct dentry*.
> >
> > Fixes: a455589f181e ("assorted conversions to %p[dD]")
> > Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> > ---
> >  fs/autofs4/root.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
> > index dbb5b7212ce1..7ba355b8d4ac 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;



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-12  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 15:28 [PATCH] autofs4: Wrong format for printing dentry Rasmus Villemoes
2015-02-11 20:41 ` Rasmus Villemoes
2015-02-12  1:08   ` Ian Kent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox