diff options
author | Matthew Wilcox (Oracle) | 2022-02-09 20:22:00 +0000 |
---|---|---|
committer | Matthew Wilcox (Oracle) | 2022-03-15 08:23:30 -0400 |
commit | 6f31a5a261dbbe7bf7f585dfe81f8acd4b25ec3b (patch) | |
tree | cd3b4d33eed13560f5a04e4ce11f2794efeca92b /fs/fscache | |
parent | 072acba6d08730beba5bad293c7ce6d0c4b0624c (diff) |
fs: Add aops->dirty_folio
This replaces ->set_page_dirty(). It returns a bool instead of an int
and takes the address_space as a parameter instead of expecting the
implementations to retrieve the address_space from the page. This is
particularly important for filesystems which use FS_OPS for swap.
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
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions