[v2] fs: Fix missing 'bit' in comment
diff mbox series

Message ID 20200402035807.10611-1-luochucheng@vivo.com
State New
Headers show
Series
  • [v2] fs: Fix missing 'bit' in comment
Related show

Commit Message

Chucheng Luo April 2, 2020, 3:58 a.m. UTC
The missing word may make it hard for other developers to
understand it.

Signed-off-by: Chucheng Luo <luochucheng@vivo.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Andreas Dilger <adilger@dilger.ca>
---
Changelog:
 - fix missing word 'bit'
 - change '32 bit' to '32-bit'
 - change '64 bit' to '64-bit'
---
 fs/vboxsf/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chaitanya Kulkarni April 2, 2020, 4:12 a.m. UTC | #1
On 4/1/20 8:58 PM, Chucheng Luo wrote:
> The missing word may make it hard for other developers to
> understand it.
>
> Signed-off-by: Chucheng Luo <luochucheng@vivo.com>
> Acked-by: Hans de Goede <hdegoede@redhat.com>
> Acked-by: Andreas Dilger <adilger@dilger.ca>

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>

Patch
diff mbox series

diff --git a/fs/vboxsf/dir.c b/fs/vboxsf/dir.c
index dd147b490982..4d569f14a8d8 100644
--- a/fs/vboxsf/dir.c
+++ b/fs/vboxsf/dir.c
@@ -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)) {