Skip to contentSkip to conversation

fs: Fix missing 'bit' in comment

PATCH In review Chucheng Luo 2 participants 2 messages Mar 13, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: Fix missing 'bit' in comment

The missing word may make it hard for other developers to understand it.

---
 fs/vboxsf/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/vboxsf/dir.c +1 -1
index dd147b490982..4d569f14a8d8 100644
@@ -134,7 +134,7 @@ static bool vboxsf_dir_emit(struct file *dir, struct dir_context *ctx)
 		d_type = vboxsf_get_d_type(info->info.attr.mode);
 
 		/*
-		 * On 32 bit systems pos is 64 signed, while ino is 32 bit
+		 * On 32-bit systems pos is 64-bit signed, while ino is 32-bit
 		 * unsigned so fake_ino may overflow, check for this.
 		 */
 		if ((ino_t)(ctx->pos + 1) != (u64)(ctx->pos + 1)) {
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 4 lines · Chucheng Luo

The missing word may make it hard for other developers to understand it.

This new version also looks good to me:

Regards,

Hans

p.s.

In the future please mark new versions as such by using e.g.:

git send-email --subject-prefix="PATCH v2" ...

Actually, it would be good to resend this patch (with my Acked-by added to the commit msg) this way because now there is no way for the fs maintainers to figure out which one of the 2 patches you've send out to apply.

Quoted 18 lines
---
  fs/vboxsf/dir.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
fs/vboxsf/dir.c +1 -1
index dd147b490982..4d569f14a8d8 100644
@@ -134,7 +134,7 @@ static bool vboxsf_dir_emit(struct file *dir, struct dir_context *ctx)
  		d_type = vboxsf_get_d_type(info->info.attr.mode);
 
  		/*
-		 * On 32 bit systems pos is 64 signed, while ino is 32 bit
+		 * On 32-bit systems pos is 64-bit signed, while ino is 32-bit
  		 * unsigned so fake_ino may overflow, check for this.
  		 */
  		if ((ino_t)(ctx->pos + 1) != (u64)(ctx->pos + 1)) {