]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fs: dcache: fix typo in enum d_walk_ret comment
authorChelsy Ratnawat <chelsyratnawat2001@gmail.com>
Wed, 28 Jan 2026 14:31:50 +0000 (06:31 -0800)
committerChristian Brauner <brauner@kernel.org>
Thu, 29 Jan 2026 12:37:34 +0000 (13:37 +0100)
Fix minor spelling and indentation errors in the
documentation comments.

Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
Link: https://patch.msgid.link/20260128143150.3674284-1-chelsyratnawat2001@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/dcache.c

index ec275f4fd81cddb771d91e33eb01629222cf80c4..55c622b28dddc1b567e4f2c11063fa6fc179cdc5 100644 (file)
@@ -1288,8 +1288,8 @@ void shrink_dcache_sb(struct super_block *sb)
 EXPORT_SYMBOL(shrink_dcache_sb);
 
 /**
- * enum d_walk_ret - action to talke during tree walk
- * @D_WALK_CONTINUE:   contrinue walk
+ * enum d_walk_ret - action to take during tree walk
+ * @D_WALK_CONTINUE:   continue walk
  * @D_WALK_QUIT:       quit walk
  * @D_WALK_NORETRY:    quit when retry is needed
  * @D_WALK_SKIP:       skip this dentry and its children
@@ -1712,7 +1712,7 @@ void d_invalidate(struct dentry *dentry)
 EXPORT_SYMBOL(d_invalidate);
 
 /**
- * __d_alloc   -       allocate a dcache entry
+ * __d_alloc - allocate a dcache entry
  * @sb: filesystem it will belong to
  * @name: qstr of the name
  *
@@ -1796,7 +1796,7 @@ static struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name)
 }
 
 /**
- * d_alloc     -       allocate a dcache entry
+ * d_alloc - allocate a dcache entry
  * @parent: parent of entry to allocate
  * @name: qstr of the name
  *
@@ -2536,7 +2536,7 @@ static void __d_rehash(struct dentry *entry)
 }
 
 /**
- * d_rehash    - add an entry back to the hash
+ * d_rehash - add an entry back to the hash
  * @entry: dentry to add to the hash
  *
  * Adds a dentry to the hash according to its name.