diff options
author | Max Kellermann <max.kellermann@ionos.com> | 2024-11-23 10:21:21 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-11-25 17:51:13 +0300 |
commit | c5cf420303256dcd6ff175643e9e9558543c2047 (patch) | |
tree | 991e2e7e1a709c6435a896ea58caa70a1b9301e6 /rust/helpers/build_bug.c | |
parent | 23426309a4064b25a961e1c72961d8bfc7c8c990 (diff) | |
download | linux-c5cf420303256dcd6ff175643e9e9558543c2047.tar.xz |
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 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions