mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops
[ Upstream commit5c8f12cf1e
] Clears up the warning added in7ee3647243
("migrate: Remove call to ->writepage") that occurs in various xfstests, causing "something found in dmesg" failures. [ 341.136573] gfs2_meta_aops does not implement migrate_folio [ 341.136953] WARNING: CPU: 1 PID: 36 at mm/migrate.c:944 move_to_new_folio+0x2f8/0x300 Signed-off-by: Andrew Price <anprice@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
53a0249d68
commit
9d9b053f7f
|
@ -103,6 +103,7 @@ const struct address_space_operations gfs2_meta_aops = {
|
|||
.invalidate_folio = block_invalidate_folio,
|
||||
.writepages = gfs2_aspace_writepages,
|
||||
.release_folio = gfs2_release_folio,
|
||||
.migrate_folio = buffer_migrate_folio_norefs,
|
||||
};
|
||||
|
||||
const struct address_space_operations gfs2_rgrp_aops = {
|
||||
|
@ -110,6 +111,7 @@ const struct address_space_operations gfs2_rgrp_aops = {
|
|||
.invalidate_folio = block_invalidate_folio,
|
||||
.writepages = gfs2_aspace_writepages,
|
||||
.release_folio = gfs2_release_folio,
|
||||
.migrate_folio = buffer_migrate_folio_norefs,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user