mbox series

[v4,0/2] ceph: fix potential use-after-free bug when trimming caps

Message ID 20230419061402.183915-1-xiubli@redhat.com (mailing list archive)
Headers show
Series ceph: fix potential use-after-free bug when trimming caps | expand

Message

Xiubo Li April 19, 2023, 6:14 a.m. UTC
From: Xiubo Li <xiubli@redhat.com>

V4:
- swtich ci_node to mds


Xiubo Li (2):
  ceph: export __get_cap_for_mds() helper
  ceph: fix potential use-after-free bug when trimming caps

 fs/ceph/caps.c       |  2 +-
 fs/ceph/debugfs.c    | 18 +++++++----
 fs/ceph/mds_client.c | 72 ++++++++++++++++++++++++++++----------------
 fs/ceph/mds_client.h |  3 +-
 fs/ceph/super.h      |  2 ++
 5 files changed, 62 insertions(+), 35 deletions(-)