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.
Signed-off-by Chucheng Luo <[email protected]>
--- 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]>
This new version also looks good to me:
Acked-by Hans de Goede <[email protected]>
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@@ -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 )) {