Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

haoyu.lu and committed by
Christian Brauner
388727ef b98f7363

+1 -1
+1 -1
kernel/acct.c
··· 244 244 if (!S_ISREG(file_inode(file)->i_mode)) 245 245 return -EACCES; 246 246 247 - /* Exclude kernel kernel internal filesystems. */ 247 + /* Exclude kernel internal filesystems. */ 248 248 if (file_inode(file)->i_sb->s_flags & (SB_NOUSER | SB_KERNMOUNT)) 249 249 return -EINVAL; 250 250