OrangePi_CM5/fs/ceph
Xiubo Li f442978612 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
[ Upstream commit f639d9867eea647005dc824e0e24f39ffc50d4e4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-13 21:01:00 +02:00
..
Kconfig
…
Makefile
…
acl.c
…
addr.c
…
cache.c
…
cache.h
…
caps.c ceph: fix duplicate increment of opened_inodes metric 2021-12-22 09:30:52 +01:00
ceph_frag.c
…
debugfs.c
…
dir.c ceph: fix memory leak in ceph_readdir when note_last_dentry returns error 2022-04-13 21:01:00 +02:00
export.c
…
file.c ceph: set pool_ns in new inode layout for async creates 2022-02-01 17:25:39 +01:00
inode.c ceph: fix handling of "meta" errors 2021-10-27 09:56:51 +02:00
io.c
…
io.h
…
ioctl.c
…
ioctl.h
…
locks.c
…
mds_client.c ceph: initialize pathlen variable in reconnect_caps_cb 2021-12-22 09:30:52 +01:00
mds_client.h
…
mdsmap.c ceph: fix possible null-pointer dereference in ceph_mdsmap_decode() 2021-09-08 08:49:01 +02:00
metric.c ceph: cancel delayed work instead of flushing on mdsc teardown 2021-09-26 14:08:58 +02:00
metric.h
…
quota.c
…
snap.c ceph: correctly handle releasing an embedded cap flush 2021-09-03 10:09:22 +02:00
strings.c
…
super.c ceph: properly handle statfs on multifs setups 2021-12-01 09:19:08 +01:00
super.h ceph: fix handling of "meta" errors 2021-10-27 09:56:51 +02:00
util.c
…
xattr.c
…