fs: Fix missing 'bit' in comment
Subsystems (2)
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
@@ -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
Hi,
Quoted 4 lines · Chucheng Luo
The missing word may make it hard for other developers to understand it.
Signed-off-by Chucheng Luo <[email protected]>
Thanks for catching this:
Regards,
Hans
Quoted 18 lines
--- fs/vboxsf/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/vboxsf/dir.c +1
-1@@ -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 )) {
Re: [PATCH] Fix missing 'bit' in comment
Quoted 11 lines · Hans de Goede
Hi,
Quoted 3 lines · Chucheng Luo
The missing word may make it hard for other developers to understand it.
Signed-off-by Chucheng Luo <[email protected]>Thanks for catching this:
Acked-by Hans de Goede <[email protected]>
Not to nit-pick, but these should properly be written as "32-bit" and "64-bit". That can be easily fixed in the patch before upstream submission.
Cheers, Andreas
Quoted 5 lines
Regards,
Hans
Quoted 16 lines
Quoted 8 lines
--- fs/vboxsf/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/vboxsf/dir.c +0
-0fs/vboxsf/dir.c static bool vboxsf_dir_emit(struct file *dir, struct dir_context *ctx) · line 139
Quoted 7 lines
fs/vboxsf/dir.c +1
-1@@ -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 )) {
Cheers, Andreas
Re:Re: [PATCH] Fix missing 'bit' in comment
That sounds reasonable. I will submit a new patch based on '32-bit' and '64-bit'
From: Andreas Dilger <[email protected]>
Date: 2020-03-13 05:27:48
To: Hans de Goede <[email protected]>
Cc: Chucheng Luo <[email protected]>,Linux FS Devel <[email protected]>,[email protected],[email protected],[email protected]
Quoted 46 lines · Hans de Goede
Quoted 11 lines
Hi,
Quoted 3 lines · Chucheng Luo
The missing word may make it hard for other developers to understand it.
Signed-off-by Chucheng Luo <[email protected]>Thanks for catching this:
Acked-by Hans de Goede <[email protected]>Not to nit-pick, but these should properly be written as "32-bit" and "64-bit". That can be easily fixed in the patch before upstream submission.
Cheers, Andreas
Quoted 5 lines
Regards,
Hans
Quoted 16 lines
Quoted 8 lines
--- fs/vboxsf/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/vboxsf/dir.c +0
-0fs/vboxsf/dir.c static bool vboxsf_dir_emit(struct file *dir, struct dir_context *ctx) · line 139
Quoted 7 lines
fs/vboxsf/dir.c +1
-1@@ -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 )) {Cheers, Andreas