mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 05:31:37 -04:00
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>
This commit is contained in:
committed by
Christian Brauner
parent
b98f7363f7
commit
388727ef1c
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user