aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/hypfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/hypfs/inode.c')
-rw-r--r--arch/s390/hypfs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c
index bdade5f2e325..8735024d235b 100644
--- a/arch/s390/hypfs/inode.c
+++ b/arch/s390/hypfs/inode.c
@@ -104,13 +104,13 @@ static struct inode *hypfs_make_inode(struct super_block *sb, int mode)
104 104
105static void hypfs_drop_inode(struct inode *inode) 105static void hypfs_drop_inode(struct inode *inode)
106{ 106{
107 kfree(inode->u.generic_ip); 107 kfree(inode->i_private);
108 generic_delete_inode(inode); 108 generic_delete_inode(inode);
109} 109}
110 110
111static int hypfs_open(struct inode *inode, struct file *filp) 111static int hypfs_open(struct inode *inode, struct file *filp)
112{ 112{
113 char *data = filp->f_dentry->d_inode->u.generic_ip; 113 char *data = filp->f_dentry->d_inode->i_private;
114 struct hypfs_sb_info *fs_info; 114 struct hypfs_sb_info *fs_info;
115 115
116 if (filp->f_mode & FMODE_WRITE) { 116 if (filp->f_mode & FMODE_WRITE) {
@@ -352,7 +352,7 @@ static struct dentry *hypfs_create_file(struct super_block *sb,
352 parent->d_inode->i_nlink++; 352 parent->d_inode->i_nlink++;
353 } else 353 } else
354 BUG(); 354 BUG();
355 inode->u.generic_ip = data; 355 inode->i_private = data;
356 d_instantiate(dentry, inode); 356 d_instantiate(dentry, inode);
357 dget(dentry); 357 dget(dentry);
358 return dentry; 358 return dentry;