ceph: fix inode reference leak
Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
f3c4ebe65e
commit
209ae762a6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue