]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: convert shmem_file_read_iter() to use shmem_get_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:23 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:49 +0000 (14:02 -0700)
commit649c6e8e6d305565bd642ca67e0c45acb8aba14b
treeb84e19c408b09c3ac0ca3a257e31854605be798b
parenta868e485103c2f10b503e5c3f4afca5bc9b03a41
shmem: convert shmem_file_read_iter() to use shmem_get_folio()

Use a folio throughout, saving five calls to compound_head().

Link: https://lkml.kernel.org/r/20220902194653.1739778-28-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/shmem.c