summaryrefslogtreecommitdiff
path: root/rust/helpers/blk.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-10-25 22:08:12 +0300
committerChristian Brauner <brauner@kernel.org>2024-11-05 19:19:58 +0300
commit064fe6b4752c41cc4d00d1532f65ef98acd107a2 (patch)
tree6026c6ef882d3ad5e291b41f63a84b91463d4142 /rust/helpers/blk.c
parent807a11dab9dc42dc999ece92d1277b3da37ecfab (diff)
downloadlinux-064fe6b4752c41cc4d00d1532f65ef98acd107a2.tar.xz
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) <willy@infradead.org> Link: https://lore.kernel.org/r/20241025190822.1319162-3-willy@infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/blk.c')
0 files changed, 0 insertions, 0 deletions