On Fri, Nov 29, 2024 at 08:26:42AM -0500, Jeff Layton wrote: > On Fri, 2024-11-29 at 05:50 +0000, Matthew Wilcox (Oracle) wrote: > > If the pages array contains encrypted pages, we cannot look at > > page->index because that field is uninitialised. Instead, use the new > > ceph_fscrypt_pagecache_folio() to get the pagecache folio and look at > > the index of that. > > > > Fixes: 4de77f25fd85 (ceph: use osd_req_op_extent_osd_iter for netfs reads) > > This commit may be a better candidate for the fixes tag: > > d55207717ded ceph: add encryption support to writepage and writepages ... that's the commit i had intended to use. Not sure what I fat-fingered to make this happen.