aboutsummaryrefslogtreecommitdiffstats
path: root/fs/freevxfs/vxfs_super.c
diff options
context:
space:
mode:
authorKrzysztof Błaszkowski <kb@sysmikro.com.pl>2016-06-01 02:41:11 -0400
committerChristoph Hellwig <hch@lst.de>2016-06-01 03:01:30 -0400
commit0e481d3c0964ef00ff3dc9f25508980619e28752 (patch)
tree08d1b676ca04ae3cc059b4543738f3828d4392fb /fs/freevxfs/vxfs_super.c
parent0d83f7fc83f77d1cc8395b9e851325d8cc1892e3 (diff)
freevxfs: remove vxfs_put_fake_inode
Signed-off-by: Krzysztof Błaszkowski <kb@sysmikro.com.pl> [hch: split from a larget patch] Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/freevxfs/vxfs_super.c')
-rw-r--r--fs/freevxfs/vxfs_super.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c
index 6124091b4fdb..daf58a9fae70 100644
--- a/fs/freevxfs/vxfs_super.c
+++ b/fs/freevxfs/vxfs_super.c
@@ -79,9 +79,9 @@ vxfs_put_super(struct super_block *sbp)
79{ 79{
80 struct vxfs_sb_info *infp = VXFS_SBI(sbp); 80 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
81 81
82 vxfs_put_fake_inode(infp->vsi_fship); 82 iput(infp->vsi_fship);
83 vxfs_put_fake_inode(infp->vsi_ilist); 83 iput(infp->vsi_ilist);
84 vxfs_put_fake_inode(infp->vsi_stilist); 84 iput(infp->vsi_stilist);
85 85
86 brelse(infp->vsi_bp); 86 brelse(infp->vsi_bp);
87 kfree(infp); 87 kfree(infp);
@@ -278,9 +278,9 @@ static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent)
278 return 0; 278 return 0;
279 279
280out_free_ilist: 280out_free_ilist:
281 vxfs_put_fake_inode(infp->vsi_fship); 281 iput(infp->vsi_fship);
282 vxfs_put_fake_inode(infp->vsi_ilist); 282 iput(infp->vsi_ilist);
283 vxfs_put_fake_inode(infp->vsi_stilist); 283 iput(infp->vsi_stilist);
284out: 284out:
285 brelse(infp->vsi_bp); 285 brelse(infp->vsi_bp);
286 kfree(infp); 286 kfree(infp);