Blame SOURCES/0075-mm-require-set_page_dirty-to-be-explicitly-wired-up.patch

Kmods SIG 9e3ffb
From 0af573780b0b13fceb7fabd49dc1b073cee9a507 Mon Sep 17 00:00:00 2001
Kmods SIG 9e3ffb
From: Christoph Hellwig <hch@lst.de>
Kmods SIG 9e3ffb
Date: Mon, 28 Jun 2021 19:36:12 -0700
Kmods SIG 9e3ffb
Subject: [Backport 0af573780b0b] mm: require ->set_page_dirty to be explicitly
Kmods SIG 9e3ffb
 wired up
Kmods SIG 9e3ffb
Kmods SIG 9e3ffb
Remove the CONFIG_BLOCK default to __set_page_dirty_buffers and just wire
Kmods SIG 9e3ffb
that method up for the missing instances.
Kmods SIG 9e3ffb
Kmods SIG 9e3ffb
[hch@lst.de: ecryptfs: add a ->set_page_dirty cludge]
Kmods SIG 9e3ffb
  Link: https://lkml.kernel.org/r/20210624125250.536369-1-hch@lst.de
Kmods SIG 9e3ffb
Kmods SIG 9e3ffb
Link: https://lkml.kernel.org/r/20210614061512.3966143-4-hch@lst.de
Kmods SIG 9e3ffb
Signed-off-by: Christoph Hellwig <hch@lst.de>
Kmods SIG 9e3ffb
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Kmods SIG 9e3ffb
Reviewed-by: Jan Kara <jack@suse.cz>
Kmods SIG 9e3ffb
Cc: Al Viro <viro@zeniv.linux.org.uk>
Kmods SIG 9e3ffb
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Kmods SIG 9e3ffb
Cc: Tyler Hicks <code@tyhicks.com>
Kmods SIG 9e3ffb
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Kmods SIG 9e3ffb
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Kmods SIG 9e3ffb
---
Kmods SIG 9e3ffb
 src/inode.c | 1 +
Kmods SIG 9e3ffb
 1 file changed, 1 insertion(+)
Kmods SIG 9e3ffb
Kmods SIG 9e3ffb
diff --git a/src/inode.c b/src/inode.c
Kmods SIG 9e3ffb
index 1803ef3220fdbd6ca51470b736ca3ab596588fc3..ca37d43443612c61200b07b69e40993ea0eff8d2 100644
Kmods SIG 9e3ffb
--- a/src/inode.c
Kmods SIG 9e3ffb
+++ b/src/inode.c
Kmods SIG 9e3ffb
@@ -491,6 +491,7 @@ int exfat_block_truncate_page(struct inode *inode, loff_t from)
Kmods SIG 9e3ffb
 }
Kmods SIG 9e3ffb
 
Kmods SIG 9e3ffb
 static const struct address_space_operations exfat_aops = {
Kmods SIG 9e3ffb
+	.set_page_dirty	= __set_page_dirty_buffers,
Kmods SIG 9e3ffb
 	.readpage	= exfat_readpage,
Kmods SIG 9e3ffb
 	.readpages	= exfat_readpages,
Kmods SIG 9e3ffb
 	.writepage	= exfat_writepage,
Kmods SIG 9e3ffb
-- 
Kmods SIG 9e3ffb
2.31.1
Kmods SIG 9e3ffb