lkml.org 
[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] autofs4: Wrong format for printing dentry
From
Date
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;




\
 
 \ /
  Last update: 2015-02-12 02:41    [W:0.076 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site