diff options
-rw-r--r-- | arch/s390/hypfs/inode.c | 4 | ||||
-rw-r--r-- | arch/s390/kernel/debug.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index cd702ae45d6d..b6716c4b9934 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c | |||
@@ -109,7 +109,7 @@ static void hypfs_drop_inode(struct inode *inode) | |||
109 | 109 | ||
110 | static int hypfs_open(struct inode *inode, struct file *filp) | 110 | static int hypfs_open(struct inode *inode, struct file *filp) |
111 | { | 111 | { |
112 | char *data = filp->f_dentry->d_inode->i_private; | 112 | char *data = filp->f_path.dentry->d_inode->i_private; |
113 | struct hypfs_sb_info *fs_info; | 113 | struct hypfs_sb_info *fs_info; |
114 | 114 | ||
115 | if (filp->f_mode & FMODE_WRITE) { | 115 | if (filp->f_mode & FMODE_WRITE) { |
@@ -174,7 +174,7 @@ static ssize_t hypfs_aio_write(struct kiocb *iocb, const struct iovec *iov, | |||
174 | struct hypfs_sb_info *fs_info; | 174 | struct hypfs_sb_info *fs_info; |
175 | size_t count = iov_length(iov, nr_segs); | 175 | size_t count = iov_length(iov, nr_segs); |
176 | 176 | ||
177 | sb = iocb->ki_filp->f_dentry->d_inode->i_sb; | 177 | sb = iocb->ki_filp->f_path.dentry->d_inode->i_sb; |
178 | fs_info = sb->s_fs_info; | 178 | fs_info = sb->s_fs_info; |
179 | /* | 179 | /* |
180 | * Currently we only allow one update per second for two reasons: | 180 | * Currently we only allow one update per second for two reasons: |
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index 43f3d0c7e132..ef5266fbce62 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c | |||
@@ -603,13 +603,13 @@ debug_open(struct inode *inode, struct file *file) | |||
603 | debug_info_t *debug_info, *debug_info_snapshot; | 603 | debug_info_t *debug_info, *debug_info_snapshot; |
604 | 604 | ||
605 | down(&debug_lock); | 605 | down(&debug_lock); |
606 | debug_info = file->f_dentry->d_inode->i_private; | 606 | debug_info = file->f_path.dentry->d_inode->i_private; |
607 | /* find debug view */ | 607 | /* find debug view */ |
608 | for (i = 0; i < DEBUG_MAX_VIEWS; i++) { | 608 | for (i = 0; i < DEBUG_MAX_VIEWS; i++) { |
609 | if (!debug_info->views[i]) | 609 | if (!debug_info->views[i]) |
610 | continue; | 610 | continue; |
611 | else if (debug_info->debugfs_entries[i] == | 611 | else if (debug_info->debugfs_entries[i] == |
612 | file->f_dentry) { | 612 | file->f_path.dentry) { |
613 | goto found; /* found view ! */ | 613 | goto found; /* found view ! */ |
614 | } | 614 | } |
615 | } | 615 | } |