fs: fix typos in comments

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
Link: https://patch.msgid.link/20260907063252.21433-1-hemanth.selam@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
Hemanth Selam 2026-09-07 12:02:52 +05:30 committed by Christian Brauner
parent 41f582f009
commit 21a62663d4
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2
5 changed files with 6 additions and 6 deletions

View File

@ -1047,7 +1047,7 @@ static bool coredump_write(struct core_name *cn,
cn->core_dumped = binfmt->core_dump(cprm); cn->core_dumped = binfmt->core_dump(cprm);
/* /*
* Ensures that file size is big enough to contain the current * Ensures that file size is big enough to contain the current
* file postion. This prevents gdb from complaining about * file position. This prevents gdb from complaining about
* a truncated file if the last "write" to the file was * a truncated file if the last "write" to the file was
* dump_skip. * dump_skip.
*/ */

View File

@ -248,7 +248,7 @@ void wb_wait_for_completion(struct wb_completion *done)
* to 16 slots. To avoid tiny writes from swinging the decision too much, * to 16 slots. To avoid tiny writes from swinging the decision too much,
* writes smaller than 1/8 of avg size are ignored. * writes smaller than 1/8 of avg size are ignored.
*/ */
#define WB_FRN_TIME_SHIFT 13 /* 1s = 2^13, upto 8 secs w/ 16bit */ #define WB_FRN_TIME_SHIFT 13 /* 1s = 2^13, up to 8 secs w/ 16bit */
#define WB_FRN_TIME_AVG_SHIFT 3 /* avg = avg * 7/8 + new * 1/8 */ #define WB_FRN_TIME_AVG_SHIFT 3 /* avg = avg * 7/8 + new * 1/8 */
#define WB_FRN_TIME_CUT_DIV 8 /* ignore rounds < avg / 8 */ #define WB_FRN_TIME_CUT_DIV 8 /* ignore rounds < avg / 8 */
#define WB_FRN_TIME_PERIOD (2 * (1 << WB_FRN_TIME_SHIFT)) /* 2s */ #define WB_FRN_TIME_PERIOD (2 * (1 << WB_FRN_TIME_SHIFT)) /* 2s */
@ -259,7 +259,7 @@ void wb_wait_for_completion(struct wb_completion *done)
#define WB_FRN_HIST_THR_SLOTS (WB_FRN_HIST_SLOTS / 2) #define WB_FRN_HIST_THR_SLOTS (WB_FRN_HIST_SLOTS / 2)
/* if foreign slots >= 8, switch */ /* if foreign slots >= 8, switch */
#define WB_FRN_HIST_MAX_SLOTS (WB_FRN_HIST_THR_SLOTS / 2 + 1) #define WB_FRN_HIST_MAX_SLOTS (WB_FRN_HIST_THR_SLOTS / 2 + 1)
/* one round can affect upto 5 slots */ /* one round can affect up to 5 slots */
#define WB_FRN_MAX_IN_FLIGHT 1024 /* don't queue too many concurrently */ #define WB_FRN_MAX_IN_FLIGHT 1024 /* don't queue too many concurrently */
/* /*

View File

@ -4115,7 +4115,7 @@ int path_mount(const char *dev_name, const struct path *path,
if (flags & SB_MANDLOCK) if (flags & SB_MANDLOCK)
warn_mandlock(); warn_mandlock();
/* Default to relatime unless overriden */ /* Default to relatime unless overridden */
if (!(flags & MS_NOATIME)) if (!(flags & MS_NOATIME))
mnt_flags |= MNT_RELATIME; mnt_flags |= MNT_RELATIME;

View File

@ -1436,7 +1436,7 @@ static inline void i_gid_write(struct inode *inode, gid_t gid)
* @idmap: idmap of the mount the inode was found from * @idmap: idmap of the mount the inode was found from
* @inode: inode to map * @inode: inode to map
* *
* Return: whe inode's i_uid mapped down according to @idmap. * Return: the inode's i_uid mapped down according to @idmap.
* If the inode's i_uid has no mapping INVALID_VFSUID is returned. * If the inode's i_uid has no mapping INVALID_VFSUID is returned.
*/ */
static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap, static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap,

View File

@ -88,7 +88,7 @@ struct fstrim_range {
* We include a length field because some filesystems (vfat) have an identifier * We include a length field because some filesystems (vfat) have an identifier
* that we do want to expose as a UUID, but doesn't have the standard length. * that we do want to expose as a UUID, but doesn't have the standard length.
* *
* We use a fixed size buffer beacuse this interface will, by fiat, never * We use a fixed size buffer because this interface will, by fiat, never
* support "UUIDs" longer than 16 bytes; we don't want to force all downstream * support "UUIDs" longer than 16 bytes; we don't want to force all downstream
* users to have to deal with that. * users to have to deal with that.
*/ */