aboutsummaryrefslogtreecommitdiffstats
path: root/fs/freevxfs/vxfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/freevxfs/vxfs_inode.c')
-rw-r--r--fs/freevxfs/vxfs_inode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c
index ca6a39714771..4786d51ad3bd 100644
--- a/fs/freevxfs/vxfs_inode.c
+++ b/fs/freevxfs/vxfs_inode.c
@@ -239,11 +239,10 @@ vxfs_iinit(struct inode *ip, struct vxfs_inode_info *vip)
239 ip->i_ctime.tv_nsec = 0; 239 ip->i_ctime.tv_nsec = 0;
240 ip->i_mtime.tv_nsec = 0; 240 ip->i_mtime.tv_nsec = 0;
241 241
242 ip->i_blksize = PAGE_SIZE;
243 ip->i_blocks = vip->vii_blocks; 242 ip->i_blocks = vip->vii_blocks;
244 ip->i_generation = vip->vii_gen; 243 ip->i_generation = vip->vii_gen;
245 244
246 ip->u.generic_ip = (void *)vip; 245 ip->i_private = vip;
247 246
248} 247}
249 248
@@ -338,5 +337,5 @@ vxfs_read_inode(struct inode *ip)
338void 337void
339vxfs_clear_inode(struct inode *ip) 338vxfs_clear_inode(struct inode *ip)
340{ 339{
341 kmem_cache_free(vxfs_inode_cachep, ip->u.generic_ip); 340 kmem_cache_free(vxfs_inode_cachep, ip->i_private);
342} 341}