Skip to content

Commit

Permalink
gfs2: Remove gfs2_aspace_writepage()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Matthew Wilcox (Oracle) authored and Andreas Gruenbacher committed Sep 2, 2024
1 parent e5ac171 commit 6888c1e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fs/gfs2/meta_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ static void gfs2_aspace_write_folio(struct folio *folio,
folio_end_writeback(folio);
}

static int gfs2_aspace_writepage(struct page *page, struct writeback_control *wbc)
{
gfs2_aspace_write_folio(page_folio(page), wbc);

return 0;
}

static int gfs2_aspace_writepages(struct address_space *mapping,
struct writeback_control *wbc)
{
Expand All @@ -115,7 +108,6 @@ const struct address_space_operations gfs2_meta_aops = {
const struct address_space_operations gfs2_rgrp_aops = {
.dirty_folio = block_dirty_folio,
.invalidate_folio = block_invalidate_folio,
.writepage = gfs2_aspace_writepage,
.writepages = gfs2_aspace_writepages,
.release_folio = gfs2_release_folio,
};
Expand Down

0 comments on commit 6888c1e

Please sign in to comment.