diff options
author | Max Kellermann <max.kellermann@ionos.com> | 2024-11-23 08:21:21 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-11-25 15:51:13 +0100 |
commit | c5cf420303256dcd6ff175643e9e9558543c2047 (patch) | |
tree | 991e2e7e1a709c6435a896ea58caa70a1b9301e6 /include | |
parent | 23426309a4064b25a961e1c72961d8bfc7c8c990 (diff) | |
download | linux-c5cf420303256dcd6ff175643e9e9558543c2047.tar.gz linux-c5cf420303256dcd6ff175643e9e9558543c2047.tar.bz2 linux-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: 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions