diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-03-09 13:48:03 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 07:49:41 -0400 |
commit | 121703c1c817b3c77f61002466d0bfca7e39f25d (patch) | |
tree | e71f6e481eec64c9f194fb1203c424bd51b714dc /arch/arc | |
parent | b27652d935f41793c5e229a1e8b3a8bb3afe3cc1 (diff) |
mm/writeback: Add folio_write_one
Transform write_one_page() into folio_write_one() and add a compatibility
wrapper. Also move the declaration to pagemap.h as this is page cache
functionality that doesn't need to be used by the rest of the kernel.
Saves 58 bytes of kernel text. While folio_write_one() is 101 bytes
smaller than write_one_page(), the inlined call to page_folio() expands
each caller. There are fewer than ten callers so it doesn't seem worth
putting a wrapper in the core.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions