Commit 44afc066 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Andrew Morton

hfsplus: really remove hfsplus_writepage

The earlier commit to remove hfsplus_writepage only removed it from one of
the aops.  Remove it from the btree_aops as well.

Link: https://lkml.kernel.org/r/20231215200245.748418-9-willy@infradead.orgSigned-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent df56d228
...@@ -28,11 +28,6 @@ static int hfsplus_read_folio(struct file *file, struct folio *folio) ...@@ -28,11 +28,6 @@ static int hfsplus_read_folio(struct file *file, struct folio *folio)
return block_read_full_folio(folio, hfsplus_get_block); return block_read_full_folio(folio, hfsplus_get_block);
} }
static int hfsplus_writepage(struct page *page, struct writeback_control *wbc)
{
return block_write_full_page(page, hfsplus_get_block, wbc);
}
static void hfsplus_write_failed(struct address_space *mapping, loff_t to) static void hfsplus_write_failed(struct address_space *mapping, loff_t to)
{ {
struct inode *inode = mapping->host; struct inode *inode = mapping->host;
...@@ -159,9 +154,10 @@ const struct address_space_operations hfsplus_btree_aops = { ...@@ -159,9 +154,10 @@ const struct address_space_operations hfsplus_btree_aops = {
.dirty_folio = block_dirty_folio, .dirty_folio = block_dirty_folio,
.invalidate_folio = block_invalidate_folio, .invalidate_folio = block_invalidate_folio,
.read_folio = hfsplus_read_folio, .read_folio = hfsplus_read_folio,
.writepage = hfsplus_writepage, .writepages = hfsplus_writepages,
.write_begin = hfsplus_write_begin, .write_begin = hfsplus_write_begin,
.write_end = generic_write_end, .write_end = generic_write_end,
.migrate_folio = buffer_migrate_folio,
.bmap = hfsplus_bmap, .bmap = hfsplus_bmap,
.release_folio = hfsplus_release_folio, .release_folio = hfsplus_release_folio,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment