diff options
Diffstat (limited to 'fs/freevxfs/vxfs_inode.c')
| -rw-r--r-- | fs/freevxfs/vxfs_inode.c | 5 |
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) | |||
| 338 | void | 337 | void |
| 339 | vxfs_clear_inode(struct inode *ip) | 338 | vxfs_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 | } |
