Skip to contentSkip to conversation

mm/readahead: fix typo in comment

PATCH Applied Wilson Zeng 2 participants 2 messages Jan 27

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/readahead: fix typo in comment

Fix a typo in a comment: max_readhead -> max_readahead.

---
 mm/readahead.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/readahead.c +1 -1
index b415c9969176..6f231a283f89 100644
@@ -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,
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Wilson Zeng

Fix a typo in a comment: max_readhead -> max_readahead.

LGTM, so:

Quoted 22 lines
---
 mm/readahead.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/readahead.c +1 -2
index b415c9969176..6f231a283f89 100644
@@ -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,
--

2.43.0