Skip to content

Commit

Permalink
[PATCH] struct path: convert s390
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Sipek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 49522c9 commit d20343e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/s390/hypfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void hypfs_drop_inode(struct inode *inode)

static int hypfs_open(struct inode *inode, struct file *filp)
{
char *data = filp->f_dentry->d_inode->i_private;
char *data = filp->f_path.dentry->d_inode->i_private;
struct hypfs_sb_info *fs_info;

if (filp->f_mode & FMODE_WRITE) {
Expand Down Expand Up @@ -174,7 +174,7 @@ static ssize_t hypfs_aio_write(struct kiocb *iocb, const struct iovec *iov,
struct hypfs_sb_info *fs_info;
size_t count = iov_length(iov, nr_segs);

sb = iocb->ki_filp->f_dentry->d_inode->i_sb;
sb = iocb->ki_filp->f_path.dentry->d_inode->i_sb;
fs_info = sb->s_fs_info;
/*
* Currently we only allow one update per second for two reasons:
Expand Down
4 changes: 2 additions & 2 deletions arch/s390/kernel/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,13 @@ debug_open(struct inode *inode, struct file *file)
debug_info_t *debug_info, *debug_info_snapshot;

down(&debug_lock);
debug_info = file->f_dentry->d_inode->i_private;
debug_info = file->f_path.dentry->d_inode->i_private;
/* find debug view */
for (i = 0; i < DEBUG_MAX_VIEWS; i++) {
if (!debug_info->views[i])
continue;
else if (debug_info->debugfs_entries[i] ==
file->f_dentry) {
file->f_path.dentry) {
goto found; /* found view ! */
}
}
Expand Down

0 comments on commit d20343e

Please sign in to comment.