mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
f2fs: Remove f2fs_write_node_page()
Mappings which implement writepages should not implement writepage as it can only harm writeback patterns. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
3b47398d98
commit
7ff0104a80
1 changed files with 0 additions and 8 deletions
|
@ -1816,13 +1816,6 @@ release_page:
|
|||
return err;
|
||||
}
|
||||
|
||||
static int f2fs_write_node_page(struct page *page,
|
||||
struct writeback_control *wbc)
|
||||
{
|
||||
return __write_node_page(page, false, NULL, wbc, false,
|
||||
FS_NODE_IO, NULL);
|
||||
}
|
||||
|
||||
int f2fs_fsync_node_pages(struct f2fs_sb_info *sbi, struct inode *inode,
|
||||
struct writeback_control *wbc, bool atomic,
|
||||
unsigned int *seq_id)
|
||||
|
@ -2249,7 +2242,6 @@ static bool f2fs_dirty_node_folio(struct address_space *mapping,
|
|||
* Structure of the f2fs node operations
|
||||
*/
|
||||
const struct address_space_operations f2fs_node_aops = {
|
||||
.writepage = f2fs_write_node_page,
|
||||
.writepages = f2fs_write_node_pages,
|
||||
.dirty_folio = f2fs_dirty_node_folio,
|
||||
.invalidate_folio = f2fs_invalidate_folio,
|
||||
|
|
Loading…
Add table
Reference in a new issue