Skip to content

Commit 388727e

Browse files
haoyu.lubrauner
authored andcommitted
kernel: acct: fix duplicate word in comment
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>
1 parent b98f736 commit 388727e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/acct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ static int acct_on(const char __user *name)
244244
if (!S_ISREG(file_inode(file)->i_mode))
245245
return -EACCES;
246246

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

0 commit comments

Comments
 (0)