|
@@ -3373,6 +3373,7 @@ static const struct address_space_operations ext4_ordered_aops = {
|
|
|
.direct_IO = ext4_direct_IO,
|
|
|
.migratepage = buffer_migrate_page,
|
|
|
.is_partially_uptodate = block_is_partially_uptodate,
|
|
|
+ .error_remove_page = generic_error_remove_page,
|
|
|
};
|
|
|
|
|
|
static const struct address_space_operations ext4_writeback_aops = {
|
|
@@ -3388,6 +3389,7 @@ static const struct address_space_operations ext4_writeback_aops = {
|
|
|
.direct_IO = ext4_direct_IO,
|
|
|
.migratepage = buffer_migrate_page,
|
|
|
.is_partially_uptodate = block_is_partially_uptodate,
|
|
|
+ .error_remove_page = generic_error_remove_page,
|
|
|
};
|
|
|
|
|
|
static const struct address_space_operations ext4_journalled_aops = {
|
|
@@ -3402,6 +3404,7 @@ static const struct address_space_operations ext4_journalled_aops = {
|
|
|
.invalidatepage = ext4_invalidatepage,
|
|
|
.releasepage = ext4_releasepage,
|
|
|
.is_partially_uptodate = block_is_partially_uptodate,
|
|
|
+ .error_remove_page = generic_error_remove_page,
|
|
|
};
|
|
|
|
|
|
static const struct address_space_operations ext4_da_aops = {
|
|
@@ -3418,6 +3421,7 @@ static const struct address_space_operations ext4_da_aops = {
|
|
|
.direct_IO = ext4_direct_IO,
|
|
|
.migratepage = buffer_migrate_page,
|
|
|
.is_partially_uptodate = block_is_partially_uptodate,
|
|
|
+ .error_remove_page = generic_error_remove_page,
|
|
|
};
|
|
|
|
|
|
void ext4_set_aops(struct inode *inode)
|