diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-07-11 11:42:46 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-07 11:32:00 +0200 |
commit | 6a09084cd4e67ab2e454cf6da6737383a7c6d41c (patch) | |
tree | 548345e1687a5df551394b35e75c4ea83f5a870b /fs/ecryptfs/read_write.c | |
parent | efe2f7a4132d8c399f9238a320df5edb0d62fd48 (diff) | |
download | lwn-6a09084cd4e67ab2e454cf6da6737383a7c6d41c.tar.gz lwn-6a09084cd4e67ab2e454cf6da6737383a7c6d41c.zip |
ecryptfs: Use a folio in ecryptfs_write_begin()
Use __filemap_get_folio() instead of grab_cache_page_write_begin()
and use the folio throughout. No attempt is made here to support
large folios, simply converting this function to use folio APIs is
the goal. Saves many hidden calls to compound_head().
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ecryptfs/read_write.c')
0 files changed, 0 insertions, 0 deletions