linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 06/13] ovl: remove the number postfix of '%pD' in format string
       [not found] <20210715031533.9553-1-justin.he@arm.com>
@ 2021-07-15  3:15 ` Jia He
  0 siblings, 0 replies; only message in thread
From: Jia He @ 2021-07-15  3:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: Linus Torvalds, Christoph Hellwig, nd, Jia He, Miklos Szeredi,
	linux-unionfs

After the behavior of '%pD' is changed to print the full path of file,
the previous number postfix is pointless.

Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-unionfs@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jia He <justin.he@arm.com>
---
 fs/overlayfs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c
index 4d53d3b7e5fe..f073c32319cd 100644
--- a/fs/overlayfs/file.c
+++ b/fs/overlayfs/file.c
@@ -62,7 +62,7 @@ static struct file *ovl_open_realfile(const struct file *file,
 	}
 	revert_creds(old_cred);
 
-	pr_debug("open(%p[%pD2/%c], 0%o) -> (%p, 0%o)\n",
+	pr_debug("open(%p[%pD/%c], 0%o) -> (%p, 0%o)\n",
 		 file, file, ovl_whatisit(inode, realinode), file->f_flags,
 		 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags);
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-15  3:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210715031533.9553-1-justin.he@arm.com>
2021-07-15  3:15 ` [PATCH RFC 06/13] ovl: remove the number postfix of '%pD' in format string Jia He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).