* [PATCH] mm/readahead: fix typo in comment
@ 2026-01-27 15:25 Wilson Zeng
2026-01-27 16:33 ` Lorenzo Stoakes
0 siblings, 1 reply; 2+ messages in thread
From: Wilson Zeng @ 2026-01-27 15:25 UTC (permalink / raw)
To: willy; +Cc: linux-fsdevel, linux-mm, linux-kernel, Wilson Zeng
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mm/readahead: fix typo in comment
2026-01-27 15:25 [PATCH] mm/readahead: fix typo in comment Wilson Zeng
@ 2026-01-27 16:33 ` Lorenzo Stoakes
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Stoakes @ 2026-01-27 16:33 UTC (permalink / raw)
To: Wilson Zeng; +Cc: willy, linux-fsdevel, linux-mm, linux-kernel
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
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-27 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-27 15:25 [PATCH] mm/readahead: fix typo in comment Wilson Zeng
2026-01-27 16:33 ` Lorenzo Stoakes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox