lkml.org 
[lkml]   [2021]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH RFC 02/13] afs: Remove the number postfix of '%pD' in format string
Date
After the behavior of '%pD' is changed to print the full path of file,
the previous number postfix of '%p' is pointless.

Cc: David Howells <dhowells@redhat.com>
Cc: Marc Dionne <marc.dionne@auristor.com>
Cc: linux-afs@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jia He <justin.he@arm.com>
---
fs/afs/mntpt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/afs/mntpt.c b/fs/afs/mntpt.c
index bbb2c210d139..e55233bde20f 100644
--- a/fs/afs/mntpt.c
+++ b/fs/afs/mntpt.c
@@ -61,7 +61,7 @@ static struct dentry *afs_mntpt_lookup(struct inode *dir,
*/
static int afs_mntpt_open(struct inode *inode, struct file *file)
{
- _enter("%p,%p{%pD2}", inode, file, file);
+ _enter("%p,%p{%pD}", inode, file, file);
return -EREMOTE;
}

--
2.17.1
\
 
 \ /
  Last update: 2021-07-15 05:17    [W:0.204 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site