aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2024-10-25 19:08:12 +0000
committerChristian Brauner <[email protected]>2024-11-05 16:19:58 +0000
commit064fe6b4752c41cc4d00d1532f65ef98acd107a2 (patch)
tree6026c6ef882d3ad5e291b41f63a84b91463d4142 /rust/helpers
parentecryptfs: Convert ecryptfs_writepage() to ecryptfs_writepages() (diff)
downloadkernel-064fe6b4752c41cc4d00d1532f65ef98acd107a2.tar.gz
kernel-064fe6b4752c41cc4d00d1532f65ef98acd107a2.zip
ecryptfs: Use a folio throughout ecryptfs_read_folio()
Remove the conversion to a struct page. Removes a few hidden calls to compound_head(). Use 'err' instead of 'rc' for clarity. Also remove the unnecessary call to ClearPageUptodate(); the uptodate flag is already clear if this function is being called. That lets us switch to folio_end_read() which does one atomic flag operation instead of two. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions