diff options
Diffstat (limited to 'fs/9p/vfs_dir.c')
-rw-r--r-- | fs/9p/vfs_dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c index 905c882f4e2f..3129688143ea 100644 --- a/fs/9p/vfs_dir.c +++ b/fs/9p/vfs_dir.c | |||
@@ -71,7 +71,7 @@ static inline int dt_type(struct v9fs_stat *mistat) | |||
71 | static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) | 71 | static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) |
72 | { | 72 | { |
73 | struct v9fs_fcall *fcall = NULL; | 73 | struct v9fs_fcall *fcall = NULL; |
74 | struct inode *inode = filp->f_dentry->d_inode; | 74 | struct inode *inode = filp->f_path.dentry->d_inode; |
75 | struct v9fs_session_info *v9ses = v9fs_inode2v9ses(inode); | 75 | struct v9fs_session_info *v9ses = v9fs_inode2v9ses(inode); |
76 | struct v9fs_fid *file = filp->private_data; | 76 | struct v9fs_fid *file = filp->private_data; |
77 | unsigned int i, n, s; | 77 | unsigned int i, n, s; |
@@ -80,7 +80,7 @@ static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) | |||
80 | struct v9fs_stat stat; | 80 | struct v9fs_stat stat; |
81 | int over = 0; | 81 | int over = 0; |
82 | 82 | ||
83 | dprintk(DEBUG_VFS, "name %s\n", filp->f_dentry->d_name.name); | 83 | dprintk(DEBUG_VFS, "name %s\n", filp->f_path.dentry->d_name.name); |
84 | 84 | ||
85 | fid = file->fid; | 85 | fid = file->fid; |
86 | 86 | ||