diff options
author | Max Kellermann <max.kellermann@ionos.com> | 2024-11-23 08:21:20 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-11-25 15:51:13 +0100 |
commit | 23426309a4064b25a961e1c72961d8bfc7c8c990 (patch) | |
tree | e5594236532ff33a6c35a5f119c39100b8f4a970 /io_uring/alloc_cache.h | |
parent | ceph: improve caps debugging output (diff) | |
download | linux-23426309a4064b25a961e1c72961d8bfc7c8c990.tar.xz linux-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: 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 'io_uring/alloc_cache.h')
0 files changed, 0 insertions, 0 deletions