File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,6 @@ static const struct inode_operations hfs_file_inode_operations;
29
29
30
30
#define HFS_VALID_MODE_BITS (S_IFREG | S_IFDIR | S_IRWXUGO)
31
31
32
- static int hfs_writepage (struct page * page , struct writeback_control * wbc )
33
- {
34
- return block_write_full_page (page , hfs_get_block , wbc );
35
- }
36
-
37
32
static int hfs_read_folio (struct file * file , struct folio * folio )
38
33
{
39
34
return block_read_full_folio (folio , hfs_get_block );
@@ -162,9 +157,10 @@ const struct address_space_operations hfs_btree_aops = {
162
157
.dirty_folio = block_dirty_folio ,
163
158
.invalidate_folio = block_invalidate_folio ,
164
159
.read_folio = hfs_read_folio ,
165
- .writepage = hfs_writepage ,
160
+ .writepages = hfs_writepages ,
166
161
.write_begin = hfs_write_begin ,
167
162
.write_end = generic_write_end ,
163
+ .migrate_folio = buffer_migrate_folio ,
168
164
.bmap = hfs_bmap ,
169
165
.release_folio = hfs_release_folio ,
170
166
};
You can’t perform that action at this time.
0 commit comments