Skip to contentSkip to conversation

jfs: fix typos in comments

PATCH New Hemanth Selam 1 participant 1 message Sep 4 JFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jfs: 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.

Assisted-by Cursor:claude-opus-5
---
 fs/jfs/jfs_dmap.c   | 2 +-
 fs/jfs/jfs_imap.c   | 4 ++--
 fs/jfs/jfs_txnmgr.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
fs/jfs/jfs_dmap.c +1 -1
index a841cf21da7d..f5b008b61698 100644
@@ -1851,7 +1851,7 @@ static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno)
  *		the dmaps themselves containing the desired contiguous free
  *		space or starting a contiguous free space of desired size
  *		that is made up of the blocks of one or more dmaps. these
- *		calls should not fail due to insufficent resources.
+ *		calls should not fail due to insufficient resources.
  *
  *		this routine is called in some cases where it is not known
  *		whether it will fail due to insufficient resources.  more
fs/jfs/jfs_imap.c +2 -2
index b84ba4d7dfb4..fbb10a26862c 100644
@@ -259,7 +259,7 @@ int diSync(struct inode *ipimap)
  *
  * FUNCTION:	initialize an incore inode from disk.
  *
- *		on entry, the specifed incore inode should itself
+ *		on entry, the specified incore inode should itself
  *		specify the disk inode number corresponding to the
  *		incore inode (i.e. i_number should be initialized).
  *
@@ -560,7 +560,7 @@ void diFreeSpecial(struct inode *ip)
  * FUNCTION:	write the on-disk inode portion of the in-memory inode
  *		to its corresponding on-disk inode.
  *
- *		on entry, the specifed incore inode should itself
+ *		on entry, the specified incore inode should itself
  *		specify the disk inode number corresponding to the
  *		incore inode (i.e. i_number should be initialized).
  *
fs/jfs/jfs_txnmgr.c +1 -1
index 083dbbb0c326..c9e4d3d5399b 100644
@@ -113,7 +113,7 @@ static DECLARE_WAIT_QUEUE_HEAD(jfs_commit_thread_wait);
 static int jfs_commit_thread_waking;
 
 /*
- * Retry logic exist outside these macros to protect from spurrious wakeups.
+ * Retry logic exist outside these macros to protect from spurious wakeups.
  */
 static inline void TXN_SLEEP_DROP_LOCK(wait_queue_head_t * event)
 {
Signature · 1 line
2.48.1