aboutsummaryrefslogtreecommitdiffstats
path: root/fs/freevxfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/freevxfs')
-rw-r--r--fs/freevxfs/vxfs.h2
-rw-r--r--fs/freevxfs/vxfs_inode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/freevxfs/vxfs.h b/fs/freevxfs/vxfs.h
index d35979a58743..c8a92652612a 100644
--- a/fs/freevxfs/vxfs.h
+++ b/fs/freevxfs/vxfs.h
@@ -252,7 +252,7 @@ enum {
252 * Get filesystem private data from VFS inode. 252 * Get filesystem private data from VFS inode.
253 */ 253 */
254#define VXFS_INO(ip) \ 254#define VXFS_INO(ip) \
255 ((struct vxfs_inode_info *)(ip)->u.generic_ip) 255 ((struct vxfs_inode_info *)(ip)->i_private)
256 256
257/* 257/*
258 * Get filesystem private data from VFS superblock. 258 * Get filesystem private data from VFS superblock.
diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c
index ca6a39714771..32a82ed108e4 100644
--- a/fs/freevxfs/vxfs_inode.c
+++ b/fs/freevxfs/vxfs_inode.c
@@ -243,7 +243,7 @@ vxfs_iinit(struct inode *ip, struct vxfs_inode_info *vip)
243 ip->i_blocks = vip->vii_blocks; 243 ip->i_blocks = vip->vii_blocks;
244 ip->i_generation = vip->vii_gen; 244 ip->i_generation = vip->vii_gen;
245 245
246 ip->u.generic_ip = (void *)vip; 246 ip->i_private = vip;
247 247
248} 248}
249 249
@@ -338,5 +338,5 @@ vxfs_read_inode(struct inode *ip)
338void 338void
339vxfs_clear_inode(struct inode *ip) 339vxfs_clear_inode(struct inode *ip)
340{ 340{
341 kmem_cache_free(vxfs_inode_cachep, ip->u.generic_ip); 341 kmem_cache_free(vxfs_inode_cachep, ip->i_private);
342} 342}