From: Matthew Wilcox (Oracle) Date: Wed, 9 Feb 2022 20:21:59 +0000 (+0000) Subject: fs: Remove aops->launder_page X-Git-Tag: v6.1-rc5~1776^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=072acba6d08730beba5bad293c7ce6d0c4b0624c;p=platform%2Fkernel%2Flinux-starfive.git fs: Remove aops->launder_page With all users converted to ->launder_folio, remove ->launder_page. Signed-off-by: Matthew Wilcox (Oracle) Tested-by: Damien Le Moal Acked-by: Damien Le Moal Tested-by: Mike Marshall # orangefs Tested-by: David Howells # afs --- diff --git a/include/linux/fs.h b/include/linux/fs.h index 0af3075..055be40 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -399,10 +399,7 @@ struct address_space_operations { struct page *, struct page *, enum migrate_mode); bool (*isolate_page)(struct page *, isolate_mode_t); void (*putback_page)(struct page *); - union { - int (*launder_page) (struct page *); - int (*launder_folio) (struct folio *); - }; + int (*launder_folio)(struct folio *); bool (*is_partially_uptodate) (struct folio *, size_t from, size_t count); void (*is_dirty_writeback) (struct page *, bool *, bool *);