projects
/
wrapfs-4.13.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b13f3a
)
ceph: fix dentry leak in ceph_readdir_prepopulate
author
Yan, Zheng
<zyan@redhat.com>
Fri, 28 Sep 2018 01:10:29 +0000
(09:10 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 28 Nov 2019 17:25:48 +0000
(18:25 +0100)
[ Upstream commit
c58f450bd61511d897efc2ea472c69630635b557
]
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ceph/inode.c
patch
|
blob
|
history
diff --git
a/fs/ceph/inode.c
b/fs/ceph/inode.c
index 2ad3f4ab4dcfa59a3f02a87238a1391b3ad9c17f..0be931cf3c44ce539b72fea513a3f31975721c40 100644
(file)
--- a/
fs/ceph/inode.c
+++ b/
fs/ceph/inode.c
@@
-1515,7
+1515,6
@@
int ceph_readdir_prepopulate(struct ceph_mds_request *req,
if (IS_ERR(realdn)) {
err = PTR_ERR(realdn);
d_drop(dn);
- dn = NULL;
goto next_item;
}
dn = realdn;