diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-06-29 05:36:24 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-29 20:53:48 +0300 |
commit | fc50eee3291556d623b64bb4b1dc345b971e184e (patch) | |
tree | 607d39705061d35d674154b1eb8e90f47813d121 /fs/xfs/xfs_aops.c | |
parent | fd7353f88bde80d557b6d74a5351979fc8b1b8db (diff) | |
download | linux-fc50eee3291556d623b64bb4b1dc345b971e184e.tar.xz |
fs: remove anon_set_page_dirty()
Use __set_page_dirty_no_writeback() instead. This will set the dirty bit
on the page, which will be used to avoid calling set_page_dirty() in the
future. It will have no effect on actually writing the page back, as the
pages are not on any LRU lists.
Link: https://lkml.kernel.org/r/20210615162342.1669332-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
0 files changed, 0 insertions, 0 deletions