summaryrefslogtreecommitdiffstats
path: root/mm/secretmem.c
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2021-07-24 00:50:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-24 02:43:28 +0200
commitaf64237461910f4c7365d367291d1c4f20c18769 (patch)
tree0ce313dc9a948929b6f94409a8427a281670b158 /mm/secretmem.c
parentwriteback, cgroup: do not reparent dax inodes (diff)
downloadlinux-af64237461910f4c7365d367291d1c4f20c18769.tar.xz
linux-af64237461910f4c7365d367291d1c4f20c18769.zip
mm/secretmem: wire up ->set_page_dirty
Make secretmem up to date with the changes done in commit 0af573780b0b ("mm: require ->set_page_dirty to be explicitly wired up") so that unconditional call to this method won't cause crashes. Link: https://lkml.kernel.org/r/20210716063933.31633-1-rppt@kernel.org Fixes: 0af573780b0b ("mm: require ->set_page_dirty to be explicitly wired up") Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/secretmem.c')
-rw-r--r--mm/secretmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/secretmem.c b/mm/secretmem.c
index f77d25467a14..030f02ddc7c1 100644
--- a/mm/secretmem.c
+++ b/mm/secretmem.c
@@ -152,6 +152,7 @@ static void secretmem_freepage(struct page *page)
}
const struct address_space_operations secretmem_aops = {
+ .set_page_dirty = __set_page_dirty_no_writeback,
.freepage = secretmem_freepage,
.migratepage = secretmem_migratepage,
.isolate_page = secretmem_isolate_page,