Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2022-03-05 14:52:59 +0300
committerIlya Dryomov <idryomov@gmail.com>2022-03-21 15:35:16 +0300
commitf639d9867eea647005dc824e0e24f39ffc50d4e4 (patch)
treec923feb0c6db4003bf13d38e713db1bb8fee0a30 /net
parentc38af9825eff8ff76b9d57dd62ebc7ff6050464c (diff)
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 'net')
0 files changed, 0 insertions, 0 deletions