diff options
| author | Xiubo Li <[email protected]> | 2022-03-05 11:52:59 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2022-03-21 12:35:16 +0000 |
| commit | f639d9867eea647005dc824e0e24f39ffc50d4e4 (patch) | |
| tree | c923feb0c6db4003bf13d38e713db1bb8fee0a30 /drivers/infiniband/hw/mlx5/mem.c | |
| parent | ceph: uninitialized variable in debug output (diff) | |
| download | kernel-f639d9867eea647005dc824e0e24f39ffc50d4e4.tar.gz kernel-f639d9867eea647005dc824e0e24f39ffc50d4e4.zip | |
ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
Reset the last_readdir at the same time, and add a comment explaining
why we don't free last_readdir when dir_emit returns false.
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mem.c')
0 files changed, 0 insertions, 0 deletions
