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.

procfs: delete duplicated words + other fixes

Delete repeated words in fs/proc/.
{the, which}
where "which which" was changed to "with which".

Link: https://lkml.kernel.org/r/20201028191525.13413-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
d2928e85 4083a281

+3 -3
+1 -1
fs/proc/base.c
··· 2021 2021 * file type from dcache entry. 2022 2022 * 2023 2023 * Since all of the proc inode numbers are dynamically generated, the inode 2024 - * numbers do not exist until the inode is cache. This means creating the 2024 + * numbers do not exist until the inode is cache. This means creating 2025 2025 * the dcache entry in readdir is necessary to keep the inode numbers 2026 2026 * reported by readdir in sync with the inode numbers reported 2027 2027 * by stat.
+2 -2
fs/proc/proc_net.c
··· 140 140 * @mode: The file's access mode. 141 141 * @parent: The parent directory in which to create. 142 142 * @ops: The seq_file ops with which to read the file. 143 - * @write: The write method which which to 'modify' the file. 143 + * @write: The write method with which to 'modify' the file. 144 144 * @data: Data for retrieval by PDE_DATA(). 145 145 * 146 146 * Create a network namespaced proc file in the @parent directory with the ··· 232 232 * @mode: The file's access mode. 233 233 * @parent: The parent directory in which to create. 234 234 * @show: The seqfile show method with which to read the file. 235 - * @write: The write method which which to 'modify' the file. 235 + * @write: The write method with which to 'modify' the file. 236 236 * @data: Data for retrieval by PDE_DATA(). 237 237 * 238 238 * Create a network-namespaced proc file in the @parent directory with the