summaryrefslogtreecommitdiffstats
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-04-29 11:40:23 -0400
committerIlya Dryomov <idryomov@gmail.com>2016-05-25 19:15:36 -0400
commit209ae762a64397557be2bc48490fd968912e9a71 (patch)
treea3a370dd6ace60fff136b2db8e6701f2d88d08aa /fs/ceph/inode.c
parentf3c4ebe65ea149ec892f94474233cfebe9cbe299 (diff)
ceph: fix inode reference leak
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r--fs/ceph/inode.c2
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,
1328 if (rc < 0) { 1328 if (rc < 0) {
1329 pr_err("fill_inode badness on %p got %d\n", in, rc); 1329 pr_err("fill_inode badness on %p got %d\n", in, rc);
1330 err = rc; 1330 err = rc;
1331 continue;
1332 } 1331 }
1332 iput(in);
1333 } 1333 }
1334 1334
1335 return err; 1335 return err;