[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210715031533.9553-7-justin.he@arm.com>
Date: Thu, 15 Jul 2021 11:15:26 +0800
From: Jia He <justin.he@....com>
To: linux-kernel@...r.kernel.org
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Christoph Hellwig <hch@...radead.org>, nd@....com,
Jia He <justin.he@....com>, Miklos Szeredi <miklos@...redi.hu>,
linux-unionfs@...r.kernel.org
Subject: [PATCH RFC 06/13] ovl: remove the number postfix of '%pD' in format string
After the behavior of '%pD' is changed to print the full path of file,
the previous number postfix is pointless.
Cc: Miklos Szeredi <miklos@...redi.hu>
Cc: linux-unionfs@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Signed-off-by: Jia He <justin.he@....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
Powered by blists - more mailing lists