summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-07-19 18:51:04 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2024-09-02 14:46:37 +0200
commit6888c1e85f5db129e6ddcff879bb127bbfdb5c64 (patch)
tree315ceb055e162f08a004ad7c8db779ccb453a2ca /fs/gfs2
parente5ac17199275faffc5399ff7c8a0bea1db553f26 (diff)
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) <willy@infradead.org> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/meta_io.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index cfb204c9396c..fea3efcc2f93 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -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)
{
@@ -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,
};