diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-04-29 23:40:23 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-05-26 01:15:36 +0200 |
commit | 209ae762a64397557be2bc48490fd968912e9a71 (patch) | |
tree | a3a370dd6ace60fff136b2db8e6701f2d88d08aa /fs/ceph | |
parent | f3c4ebe65ea149ec892f94474233cfebe9cbe299 (diff) | |
download | linux-209ae762a64397557be2bc48490fd968912e9a71.tar.bz2 |
ceph: fix inode reference leak
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index f51b6fd5f570..4889aaa72acc 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -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; |