mm: require ->set_page_dirty to be explicitly wired up
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Jun 2021 02:36:12 +0000 (19:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:48 +0000 (10:53 -0700)
commit0af573780b0b13fceb7fabd49dc1b073cee9a507
tree54d4fea3fca5b5f4ac90f89b554f4c13a1f79a39
parentc1e3dbe9818e3caa4e467255a348df56912ca549
mm: require ->set_page_dirty to be explicitly wired up

Remove the CONFIG_BLOCK default to __set_page_dirty_buffers and just wire
that method up for the missing instances.

[hch@lst.de: ecryptfs: add a ->set_page_dirty cludge]
Link: https://lkml.kernel.org/r/20210624125250.536369-1-hch@lst.de
Link: https://lkml.kernel.org/r/20210614061512.3966143-4-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Tyler Hicks <code@tyhicks.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
22 files changed:
fs/adfs/inode.c
fs/affs/file.c
fs/bfs/file.c
fs/block_dev.c
fs/ecryptfs/mmap.c
fs/exfat/inode.c
fs/ext2/inode.c
fs/fat/inode.c
fs/gfs2/meta_io.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/hpfs/file.c
fs/jfs/inode.c
fs/minix/inode.c
fs/nilfs2/mdt.c
fs/ocfs2/aops.c
fs/omfs/file.c
fs/sysv/itree.c
fs/udf/file.c
fs/udf/inode.c
fs/ufs/inode.c
mm/page-writeback.c