mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
exfat: fs: Convert __set_page_dirty_buffers to block_dirty_folio
Convert all callers; mostly this is just changing the aops to point at it, but a few implementations need a little more work. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs Tested-by: David Howells <dhowells@redhat.com> # afs Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
1270e7479b
commit
e145a5f7cc
1 changed files with 3 additions and 1 deletions
4
inode.c
4
inode.c
|
|
@ -514,7 +514,9 @@ int exfat_block_truncate_page(struct inode *inode, loff_t from)
|
|||
}
|
||||
|
||||
static const struct address_space_operations exfat_aops = {
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
|
||||
.dirty_folio = block_dirty_folio,
|
||||
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0)
|
||||
.set_page_dirty = __set_page_dirty_buffers,
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue