ceph: fix inode reference leak

Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Yan, Zheng 2016-04-29 23:40:23 +08:00 committed by Ilya Dryomov
parent f3c4ebe65e
commit 209ae762a6
1 changed files with 1 additions and 1 deletions

View File

@ -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;