mm/readahead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix a typo in a comment: max_readhead -> max_readahead.
Signed-off-by: Wilson Zeng <cheng20011202@gmail.com>
---
mm/readahead.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/readahead.c b/mm/readahead.c
index b415c9969176..6f231a283f89 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -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
On Tue, Jan 27, 2026 at 11:25:35PM +0800, Wilson Zeng wrote: > Fix a typo in a comment: max_readhead -> max_readahead. > > Signed-off-by: Wilson Zeng <cheng20011202@gmail.com> LGTM, so: Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> > --- > mm/readahead.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/readahead.c b/mm/readahead.c > index b415c9969176..6f231a283f89 100644 > --- a/mm/readahead.c > +++ b/mm/readahead.c > @@ -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 > > >
© 2016 - 2026 Red Hat, Inc.