Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ceph: fix inode reference leak



Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent f3c4ebe6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;