]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mm/readahead: fix typo in comment
authorWilson Zeng <cheng20011202@gmail.com>
Tue, 27 Jan 2026 15:25:35 +0000 (23:25 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 6 Feb 2026 23:47:16 +0000 (15:47 -0800)
Fix a typo in a comment: max_readhead -> max_readahead.

Link: https://lkml.kernel.org/r/20260127152535.321951-1-cheng20011202@gmail.com
Signed-off-by: Wilson Zeng <cheng20011202@gmail.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/readahead.c

index b415c99691762f45fa0501106212f581ec94adee..6f231a283f890131913b6926fe4d213475e882db 100644 (file)
@@ -436,7 +436,7 @@ static unsigned long get_next_ra_size(struct file_ra_state *ra,
  * based on I/O request size and the max_readahead.
  *
  * The code ramps up the readahead size aggressively at first, but slow down as
- * it approaches max_readhead.
+ * it approaches max_readahead.
  */
 
 static inline int ra_alloc_folio(struct readahead_control *ractl, pgoff_t index,