aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_profile.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2022-03-05 19:52:59 +0800
committerIlya Dryomov <idryomov@gmail.com>2022-03-21 13:35:16 +0100
commitf639d9867eea647005dc824e0e24f39ffc50d4e4 (patch)
treec923feb0c6db4003bf13d38e713db1bb8fee0a30 /drivers/infiniband/hw/mthca/mthca_profile.c
parentceph: uninitialized variable in debug output (diff)
downloadlinux-dev-f639d9867eea647005dc824e0e24f39ffc50d4e4.tar.xz
linux-dev-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 <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_profile.c')
0 files changed, 0 insertions, 0 deletions