]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ecryptfs: Pass the folio index to crypt_extent()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 25 Oct 2024 19:08:20 +0000 (20:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 5 Nov 2024 16:20:00 +0000 (17:20 +0100)
commit9b4bb822448b473394bef8049cf86850fa2dd904
tree0b34432895278c75c9db118649459f69339967f4
parentbf64913dfe623d6325329e42fb621b3f358ce40e
ecryptfs: Pass the folio index to crypt_extent()

We need to pass pages, not folios, to crypt_extent() as we may be
working with a plain page rather than a folio.  But we need to know the
index in the file, so pass it in from the caller.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20241025190822.1319162-11-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ecryptfs/crypto.c