diff options
| author | Luis Henriques (SUSE) <[email protected]> | 2024-08-19 09:52:17 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2024-09-24 20:51:33 +0000 |
| commit | d97079e97eab20e08afc507f2bed4501e2824717 (patch) | |
| tree | 71c3778d10223c9c0a3cb2adda72cd25bcfa20b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | ceph: flush all caps releases when syncing the whole filesystem (diff) | |
| download | kernel-d97079e97eab20e08afc507f2bed4501e2824717.tar.gz kernel-d97079e97eab20e08afc507f2bed4501e2824717.zip | |
ceph: fix a memory leak on cap_auths in MDS client
The cap_auths that are allocated during an MDS session opening are never
released, causing a memory leak detected by kmemleak. Fix this by freeing
the memory allocated when shutting down the MDS client.
Fixes: 1d17de9534cb ("ceph: save cap_auths in MDS client when session is opened")
Signed-off-by: Luis Henriques (SUSE) <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
