Skip to content

Commit 6888c1e

Browse files
Matthew Wilcox (Oracle)Andreas Gruenbacher
authored andcommitted
gfs2: Remove gfs2_aspace_writepage()
There are no remaining callers of gfs2_aspace_writepage() other than vmscan, which is known to do more harm than good. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent e5ac171 commit 6888c1e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

fs/gfs2/meta_io.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,6 @@ static void gfs2_aspace_write_folio(struct folio *folio,
8686
folio_end_writeback(folio);
8787
}
8888

89-
static int gfs2_aspace_writepage(struct page *page, struct writeback_control *wbc)
90-
{
91-
gfs2_aspace_write_folio(page_folio(page), wbc);
92-
93-
return 0;
94-
}
95-
9689
static int gfs2_aspace_writepages(struct address_space *mapping,
9790
struct writeback_control *wbc)
9891
{
@@ -115,7 +108,6 @@ const struct address_space_operations gfs2_meta_aops = {
115108
const struct address_space_operations gfs2_rgrp_aops = {
116109
.dirty_folio = block_dirty_folio,
117110
.invalidate_folio = block_invalidate_folio,
118-
.writepage = gfs2_aspace_writepage,
119111
.writepages = gfs2_aspace_writepages,
120112
.release_folio = gfs2_release_folio,
121113
};

0 commit comments

Comments
 (0)