summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-qcom-common.c
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@ionos.com>2024-11-23 08:21:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-09 10:41:05 +0100
commitffa6ba7bdb7f07f49c9e9150b0176df066520f62 (patch)
tree862ed45491afa779886989bc86bfdf1d69fe1489 /drivers/pci/controller/dwc/pcie-qcom-common.c
parent2431ce949f7f2129925df5303eb5995a60650be1 (diff)
ceph: pass cred pointer to ceph_mds_auth_match()
commit 23426309a4064b25a961e1c72961d8bfc7c8c990 upstream. 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: stable@vger.kernel.org Fixes: 596afb0b8933 ("ceph: add ceph_mds_check_access() helper") Signed-off-by: Max Kellermann <max.kellermann@ionos.com> Reviewed-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions