Skip to contentSkip to conversation

kernel: acct: fix duplicate word in comment

PATCH Applied Haoyu Lu 3 participants 3 messages Mar 26

lore
Share & tools
lore

Haoyu Lu

author
#0 lore raw

PATCH 1/1 kernel: acct: fix duplicate word in comment

From: "haoyu.lu" <[email protected]>

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

---
 kernel/acct.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/acct.c +1 -1
index 1e19722c64c3..cbbf79d718cf 100644
@@ -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

Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Haoyu Lu

From: "haoyu.lu" <[email protected]>

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

Looks good. Feel free to add:

Honza

Quoted 19 lines
---
 kernel/acct.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/acct.c +1 -2
index 1e19722c64c3..cbbf79d718cf 100644
@@ -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

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#2 lore raw
In reply to Haoyu Lu
Quoted 1 line · Haoyu Lu

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