]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kernel: acct: fix duplicate word in comment
authorhaoyu.lu <hechushiguitu666@gmail.com>
Thu, 26 Mar 2026 05:56:27 +0000 (13:56 +0800)
committerChristian Brauner <brauner@kernel.org>
Thu, 26 Mar 2026 13:22:20 +0000 (14:22 +0100)
Fix the duplicate word "kernel" in the comment on line 247.

Signed-off-by: haoyu.lu <hechushiguitu666@gmail.com>
Link: https://patch.msgid.link/20260326055628.10773-1-hechushiguitu666@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
kernel/acct.c

index 812808e5b1b81d242cd7745792220ee06087628c..43f70a082bf94a124ab6b212c3f154eeaedc52d4 100644 (file)
@@ -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;