diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-03-05 19:52:59 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-03-21 13:35:16 +0100 |
commit | f639d9867eea647005dc824e0e24f39ffc50d4e4 (patch) | |
tree | c923feb0c6db4003bf13d38e713db1bb8fee0a30 /drivers/net/arcnet | |
parent | c38af9825eff8ff76b9d57dd62ebc7ff6050464c (diff) | |
download | linux-f639d9867eea647005dc824e0e24f39ffc50d4e4.tar.bz2 |
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/net/arcnet')
0 files changed, 0 insertions, 0 deletions