summaryrefslogtreecommitdiffstats
path: root/.clang-format
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 /.clang-format
parentc38af9825eff8ff76b9d57dd62ebc7ff6050464c (diff)
downloadlinux-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 '.clang-format')
0 files changed, 0 insertions, 0 deletions