mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:01:13 +07:00
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 New Issue
Block a user