aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorMax Kellermann <[email protected]>2024-11-23 07:21:20 +0000
committerIlya Dryomov <[email protected]>2024-11-25 14:51:13 +0000
commit23426309a4064b25a961e1c72961d8bfc7c8c990 (patch)
treee5594236532ff33a6c35a5f119c39100b8f4a970 /drivers/cdx/controller/cdx_controller.c
parentceph: improve caps debugging output (diff)
downloadkernel-23426309a4064b25a961e1c72961d8bfc7c8c990.tar.gz
kernel-23426309a4064b25a961e1c72961d8bfc7c8c990.zip
ceph: pass cred pointer to ceph_mds_auth_match()
This eliminates a redundant get_current_cred() call, because ceph_mds_check_access() has already obtained this pointer. As a side effect, this also fixes a reference leak in ceph_mds_auth_match(): by omitting the get_current_cred() call, no additional cred reference is taken. 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