[PATCH] kernel: acct: fix duplicate word in comment

From: Haoyu Lu

Date: Thu Mar 26 2026 - 01:56:56 EST


From: "haoyu.lu" <hechushiguitu666@xxxxxxxxx>

Fix the duplicate word "kernel" in the comment on line 247.

Signed-off-by: haoyu.lu <hechushiguitu666@xxxxxxxxx>
---
kernel/acct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/acct.c b/kernel/acct.c
index 1e19722c64c3..cbbf79d718cf 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -244,7 +244,7 @@ static int acct_on(const char __user *name)
if (!S_ISREG(file_inode(file)->i_mode))
return -EACCES;

- /* Exclude kernel kernel internal filesystems. */
+ /* Exclude kernel internal filesystems. */
if (file_inode(file)->i_sb->s_flags & (SB_NOUSER | SB_KERNMOUNT))
return -EINVAL;

--
2.53.0.windows.1