[PATCH] afs/_enter: Fix typo in string

Li zeming posted 1 patch 3 years, 9 months ago
fs/afs/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] afs/_enter: Fix typo in string
Posted by Li zeming 3 years, 9 months ago
Remove the repeated ',' from string

Signed-off-by: Li zeming <zeming@nfschina.com>
---
 fs/afs/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/afs/dir.c b/fs/afs/dir.c
index 56ae5cd5184f..0628e843949f 100644
--- a/fs/afs/dir.c
+++ b/fs/afs/dir.c
@@ -574,7 +574,7 @@ static int afs_lookup_one_filldir(struct dir_context *ctx, const char *name,
 	struct afs_lookup_one_cookie *cookie =
 		container_of(ctx, struct afs_lookup_one_cookie, ctx);
 
-	_enter("{%s,%u},%s,%u,,%llu,%u",
+	_enter("{%s,%u},%s,%u,%llu,%u",
 	       cookie->name.name, cookie->name.len, name, nlen,
 	       (unsigned long long) ino, dtype);
 
@@ -643,7 +643,7 @@ static int afs_lookup_filldir(struct dir_context *ctx, const char *name,
 		container_of(ctx, struct afs_lookup_cookie, ctx);
 	int ret;
 
-	_enter("{%s,%u},%s,%u,,%llu,%u",
+	_enter("{%s,%u},%s,%u,%llu,%u",
 	       cookie->name.name, cookie->name.len, name, nlen,
 	       (unsigned long long) ino, dtype);
 
-- 
2.18.2
Re: [PATCH] afs/_enter: Fix typo in string
Posted by David Howells 3 years, 9 months ago
Li zeming <zeming@nfschina.com> wrote:

> -	_enter("{%s,%u},%s,%u,,%llu,%u",
> +	_enter("{%s,%u},%s,%u,%llu,%u",

It's not a typo.  The fpos argument isn't printed.

> -	_enter("{%s,%u},%s,%u,,%llu,%u",
> +	_enter("{%s,%u},%s,%u,%llu,%u",

Ditto.

David