mm/readahead: fix typo in comment
Subsystems (3)
PATCH 1/1 mm/readahead: fix typo in comment
Fix a typo in a comment: max_readhead -> max_readahead.
Signed-off-by Wilson Zeng <[email protected]>
--- mm/readahead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/readahead.c +1 -1
@@ -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
Quoted 3 lines · Wilson Zeng
Fix a typo in a comment:
max_readhead->max_readahead.Signed-off-by Wilson Zeng <[email protected]>
LGTM, so:
Reviewed-by Lorenzo Stoakes <[email protected]>
Quoted 22 lines
--- mm/readahead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)mm/readahead.c +1
-2@@ -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