mbox series

[v3,0/3] ceph: misc fix size truncate for fscrypt

Message ID 20220412070745.22795-1-xiubli@redhat.com
Headers show
Series ceph: misc fix size truncate for fscrypt | expand

Message

Xiubo Li April 12, 2022, 7:07 a.m. UTC
Hi Jeff,

This series could be squashed into the same previous commit:

e90dc20d37a3 ceph: add truncate size handling support for fscrypt


V3:
- fix possible kunmaping random vaddr bug, thanks Luis.

V2:
- remove the filemap lock related patch.
- fix caps reference leakage



Xiubo Li (3):
  ceph: flush small range instead of the whole map for truncate
  ceph: fix caps reference leakage for fscrypt size truncating
  ceph: fix possible kunmaping random vaddr

 fs/ceph/inode.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Comments

Jeff Layton April 18, 2022, 4:11 p.m. UTC | #1
On Tue, 2022-04-12 at 15:07 +0800, Xiubo Li wrote:
> Hi Jeff,
> 
> This series could be squashed into the same previous commit:
> 
> e90dc20d37a3 ceph: add truncate size handling support for fscrypt
> 
> 
> V3:
> - fix possible kunmaping random vaddr bug, thanks Luis.
> 
> V2:
> - remove the filemap lock related patch.
> - fix caps reference leakage
> 
> 
> 
> Xiubo Li (3):
>   ceph: flush small range instead of the whole map for truncate
>   ceph: fix caps reference leakage for fscrypt size truncating
>   ceph: fix possible kunmaping random vaddr
> 
>  fs/ceph/inode.c | 16 +++++++++++-----
>  1 file changed, 11 insertions(+), 5 deletions(-)
> 

Thanks Xiubo, this all looks good. I'll merge them into wip-fscrypt
soon.

Cheers!