Skip to contentSkip to conversation

afs/_enter: Fix typo in string

PATCH In review Li zeming 2 participants 2 messages Jul 4, 2022 – Jul 5, 2022 Afs filesystem

lore
Share & tools
lore

Li zeming

author
#0 lore raw

PATCH 1/1 afs/_enter: Fix typo in string

Remove the repeated ',' from string

---
 fs/afs/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/afs/dir.c +2 -2
index 56ae5cd5184f..0628e843949f 100644
@@ -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);
 
Signature · 1 line
2.18.2
maintainer
#1 lore raw

Review

Quoted 2 lines · Li zeming
(quoted diff) +1 -1
-	_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.

Review

Quoted 2 lines
(quoted diff) +1 -1
-	_enter("{%s,%u},%s,%u,,%llu,%u",
+	_enter("{%s,%u},%s,%u,%llu,%u",

Ditto.

David