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