mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernel: acct: fix duplicate word in comment
@ 2026-03-26  5:56 Haoyu Lu
  2026-03-26  9:00 ` Jan Kara
  2026-03-26 13:22 ` Christian Brauner
  0 siblings, 2 replies; 3+ messages in thread
From: Haoyu Lu @ 2026-03-26  5:56 UTC (permalink / raw)
  To: Al Viro, Christian Brauner
  Cc: Jan Kara, Kees Cook, Amir Goldstein, linux-kernel, haoyu.lu

From: "haoyu.lu" <hechushiguitu666@gmail.com>

Fix the duplicate word "kernel" in the comment on line 247.

Signed-off-by: haoyu.lu <hechushiguitu666@gmail.com>
---
 kernel/acct.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/acct.c b/kernel/acct.c
index 1e19722c64c3..cbbf79d718cf 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;

--
2.53.0.windows.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kernel: acct: fix duplicate word in comment
  2026-03-26  5:56 [PATCH] kernel: acct: fix duplicate word in comment Haoyu Lu
@ 2026-03-26  9:00 ` Jan Kara
  2026-03-26 13:22 ` Christian Brauner
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kara @ 2026-03-26  9:00 UTC (permalink / raw)
  To: Haoyu Lu
  Cc: Al Viro, Christian Brauner, Jan Kara, Kees Cook, Amir Goldstein,
	linux-kernel

On Thu 26-03-26 13:56:27, Haoyu Lu wrote:
> From: "haoyu.lu" <hechushiguitu666@gmail.com>
> 
> Fix the duplicate word "kernel" in the comment on line 247.
> 
> Signed-off-by: haoyu.lu <hechushiguitu666@gmail.com>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>
	
								Honza

> ---
>  kernel/acct.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/acct.c b/kernel/acct.c
> index 1e19722c64c3..cbbf79d718cf 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;
> 
> --
> 2.53.0.windows.1
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kernel: acct: fix duplicate word in comment
  2026-03-26  5:56 [PATCH] kernel: acct: fix duplicate word in comment Haoyu Lu
  2026-03-26  9:00 ` Jan Kara
@ 2026-03-26 13:22 ` Christian Brauner
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Brauner @ 2026-03-26 13:22 UTC (permalink / raw)
  To: Haoyu Lu
  Cc: Christian Brauner, Jan Kara, Kees Cook, Amir Goldstein,
	linux-kernel, Al Viro

On Thu, 26 Mar 2026 13:56:27 +0800, Haoyu Lu wrote:
> Fix the duplicate word "kernel" in the comment on line 247.

Applied to the vfs-7.1.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.1.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.1.misc

[1/1] kernel: acct: fix duplicate word in comment
      https://git.kernel.org/vfs/vfs/c/388727ef1cdb

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-26 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-26  5:56 [PATCH] kernel: acct: fix duplicate word in comment Haoyu Lu
2026-03-26  9:00 ` Jan Kara
2026-03-26 13:22 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®