From: haoyu.lu Date: Thu, 26 Mar 2026 05:56:27 +0000 (+0800) Subject: kernel: acct: fix duplicate word in comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388727ef1cdb5b92c482f53d6636557372c2ea1a;p=thirdparty%2Fkernel%2Flinux.git kernel: acct: fix duplicate word in comment Fix the duplicate word "kernel" in the comment on line 247. Signed-off-by: haoyu.lu Link: https://patch.msgid.link/20260326055628.10773-1-hechushiguitu666@gmail.com Reviewed-by: Jan Kara Signed-off-by: Christian Brauner --- diff --git a/kernel/acct.c b/kernel/acct.c index 812808e5b1b81..43f70a082bf94 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;