diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-03-08 16:43:04 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 07:49:40 -0400 |
commit | fdaf532a23795e320c47e1caab50a53c202135c5 (patch) | |
tree | 8c3d7d01b53dc1d7eb7a9c44b6fdc3d1e6733f12 /lib/lshrdi3.c | |
parent | fc9b6a538b222eaeb4d1e3f93e716b6626d9b653 (diff) | |
download | linux-fdaf532a23795e320c47e1caab50a53c202135c5.tar.gz linux-fdaf532a23795e320c47e1caab50a53c202135c5.tar.bz2 linux-fdaf532a23795e320c47e1caab50a53c202135c5.zip |
mm/writeback: Add folio_cancel_dirty()
Turn __cancel_dirty_page() into __folio_cancel_dirty() and add wrappers.
Move the prototypes into pagemap.h since this is page cache functionality.
Saves 44 bytes of kernel text in total; 33 bytes from __folio_cancel_dirty
and 11 from two callers of cancel_dirty_page().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'lib/lshrdi3.c')
0 files changed, 0 insertions, 0 deletions