Re: [PATCH 1/5] ceph: Do not look at the index of an encrypted page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux