]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ocfs2: convert ocfs2_duplicate_clusters_by_page() to use a folio
authorMark Tinguely <mark.tinguely@oracle.com>
Thu, 5 Dec 2024 17:16:45 +0000 (17:16 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 13 Jan 2025 04:21:12 +0000 (20:21 -0800)
commit395ea2ab463087629b254657378f92b24f9a8fb2
treeb53d0935a8197655a52cdaa543c00ab045ec28fb
parent9a5e08652dc4bea7de6495d84855439769208eab
ocfs2: convert ocfs2_duplicate_clusters_by_page() to use a folio

Retrieve folios from the page cache, not pages, and use a folio throughout
this function.  Removes seven calls to compound_head().

Link: https://lkml.kernel.org/r/20241205171653.3179945-18-willy@infradead.org
Signed-off-by: Mark Tinguely <mark.tinguely@oracle.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/refcounttree.c