aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorMax Kellermann <[email protected]>2024-11-23 07:21:21 +0000
committerIlya Dryomov <[email protected]>2024-11-25 14:51:13 +0000
commitc5cf420303256dcd6ff175643e9e9558543c2047 (patch)
tree991e2e7e1a709c6435a896ea58caa70a1b9301e6 /drivers/cdx/controller/cdx_controller.c
parentceph: pass cred pointer to ceph_mds_auth_match() (diff)
downloadkernel-c5cf420303256dcd6ff175643e9e9558543c2047.tar.gz
kernel-c5cf420303256dcd6ff175643e9e9558543c2047.zip
ceph: fix cred leak in ceph_mds_check_access()
get_current_cred() increments the reference counter, but the put_cred() call was missing. Cc: [email protected] Fixes: 596afb0b8933 ("ceph: add ceph_mds_check_access() helper") Signed-off-by: Max Kellermann <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions