1
0
Fork 0

fs: delete repeated words in comments

Delete duplicate words in fs/*.c.
The doubled words that are being dropped are:
  that, be, the, in, and, for

Link: https://lkml.kernel.org/r/20201224052810.25315-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
master
Randy Dunlap 2021-02-24 12:00:48 -08:00 committed by Linus Torvalds
parent 7c908aec34
commit 3d742d4b6e
6 changed files with 9 additions and 9 deletions

View File

@ -1270,7 +1270,7 @@ rescan:
return ret; return ret;
} }
/* /*
* Only exported for for loop and dasd for historic reasons. Don't use in new * Only exported for loop and dasd for historic reasons. Don't use in new
* code! * code!
*/ */
EXPORT_SYMBOL_GPL(bdev_disk_changed); EXPORT_SYMBOL_GPL(bdev_disk_changed);

View File

@ -2176,8 +2176,8 @@ EXPORT_SYMBOL(d_obtain_root);
* same inode, only the actual correct case is stored in the dcache for * same inode, only the actual correct case is stored in the dcache for
* case-insensitive filesystems. * case-insensitive filesystems.
* *
* For a case-insensitive lookup match and if the the case-exact dentry * For a case-insensitive lookup match and if the case-exact dentry
* already exists in in the dcache, use it and return it. * already exists in the dcache, use it and return it.
* *
* If no entry exists with the exact case name, allocate new dentry with * If no entry exists with the exact case name, allocate new dentry with
* the exact case, and return the spliced entry. * the exact case, and return the spliced entry.

View File

@ -462,7 +462,7 @@ static inline void dio_cleanup(struct dio *dio, struct dio_submit *sdio)
* Wait for the next BIO to complete. Remove it and return it. NULL is * Wait for the next BIO to complete. Remove it and return it. NULL is
* returned once all BIOs have been completed. This must only be called once * returned once all BIOs have been completed. This must only be called once
* all bios have been issued so that dio->refcount can only decrease. This * all bios have been issued so that dio->refcount can only decrease. This
* requires that that the caller hold a reference on the dio. * requires that the caller hold a reference on the dio.
*/ */
static struct bio *dio_await_one(struct dio *dio) static struct bio *dio_await_one(struct dio *dio)
{ {
@ -1279,7 +1279,7 @@ do_blockdev_direct_IO(struct kiocb *iocb, struct inode *inode,
if (retval == -ENOTBLK) { if (retval == -ENOTBLK) {
/* /*
* The remaining part of the request will be * The remaining part of the request will be
* be handled by buffered I/O when we return * handled by buffered I/O when we return
*/ */
retval = 0; retval = 0;
} }

View File

@ -1455,7 +1455,7 @@ EXPORT_SYMBOL(finalize_exec);
/* /*
* Prepare credentials and lock ->cred_guard_mutex. * Prepare credentials and lock ->cred_guard_mutex.
* setup_new_exec() commits the new creds and drops the lock. * setup_new_exec() commits the new creds and drops the lock.
* Or, if exec fails before, free_bprm() should release ->cred and * Or, if exec fails before, free_bprm() should release ->cred
* and unlock. * and unlock.
*/ */
static int prepare_bprm_creds(struct linux_binprm *bprm) static int prepare_bprm_creds(struct linux_binprm *bprm)
@ -1841,7 +1841,7 @@ static int bprm_execve(struct linux_binprm *bprm,
out: out:
/* /*
* If past the point of no return ensure the the code never * If past the point of no return ensure the code never
* returns to the userspace process. Use an existing fatal * returns to the userspace process. Use an existing fatal
* signal if present otherwise terminate the process with * signal if present otherwise terminate the process with
* SIGSEGV. * SIGSEGV.

View File

@ -173,7 +173,7 @@ static int handle_to_path(int mountdirfd, struct file_handle __user *ufh,
/* /*
* With handle we don't look at the execute bit on the * With handle we don't look at the execute bit on the
* the directory. Ideally we would like CAP_DAC_SEARCH. * directory. Ideally we would like CAP_DAC_SEARCH.
* But we don't have that * But we don't have that
*/ */
if (!capable(CAP_DAC_READ_SEARCH)) { if (!capable(CAP_DAC_READ_SEARCH)) {

View File

@ -171,7 +171,7 @@ EXPORT_SYMBOL(generic_pipe_buf_try_steal);
* *
* Description: * Description:
* This function grabs an extra reference to @buf. It's used in * This function grabs an extra reference to @buf. It's used in
* in the tee() system call, when we duplicate the buffers in one * the tee() system call, when we duplicate the buffers in one
* pipe into another. * pipe into another.
*/ */
bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf)