Skip to content

Commit d2928e8

Browse files
rddunlaptorvalds
authored andcommitted
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/[email protected] Signed-off-by: Randy Dunlap <[email protected]> Cc: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 4083a28 commit d2928e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fs/proc/base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ const struct dentry_operations pid_dentry_operations =
20212021
* file type from dcache entry.
20222022
*
20232023
* 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
20252025
* the dcache entry in readdir is necessary to keep the inode numbers
20262026
* reported by readdir in sync with the inode numbers reported
20272027
* by stat.

fs/proc/proc_net.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ EXPORT_SYMBOL_GPL(proc_create_net_data);
140140
* @mode: The file's access mode.
141141
* @parent: The parent directory in which to create.
142142
* @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.
144144
* @data: Data for retrieval by PDE_DATA().
145145
*
146146
* Create a network namespaced proc file in the @parent directory with the
@@ -232,7 +232,7 @@ EXPORT_SYMBOL_GPL(proc_create_net_single);
232232
* @mode: The file's access mode.
233233
* @parent: The parent directory in which to create.
234234
* @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.
236236
* @data: Data for retrieval by PDE_DATA().
237237
*
238238
* Create a network-namespaced proc file in the @parent directory with the

0 commit comments

Comments
 (0)