Commit 209ae762 authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov

ceph: fix inode reference leak

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent f3c4ebe6
......@@ -1328,8 +1328,8 @@ static int readdir_prepopulate_inodes_only(struct ceph_mds_request *req,
if (rc < 0) {
pr_err("fill_inode badness on %p got %d\n", in, rc);
err = rc;
continue;
}
iput(in);
}
return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment