diff options
Diffstat (limited to 'fs/befs')
-rw-r--r-- | fs/befs/linuxvfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index bce402eee554..481e59b9d91c 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
@@ -212,7 +212,7 @@ befs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) | |||
212 | static int | 212 | static int |
213 | befs_readdir(struct file *filp, void *dirent, filldir_t filldir) | 213 | befs_readdir(struct file *filp, void *dirent, filldir_t filldir) |
214 | { | 214 | { |
215 | struct inode *inode = filp->f_dentry->d_inode; | 215 | struct inode *inode = filp->f_path.dentry->d_inode; |
216 | struct super_block *sb = inode->i_sb; | 216 | struct super_block *sb = inode->i_sb; |
217 | befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; | 217 | befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; |
218 | befs_off_t value; | 218 | befs_off_t value; |
@@ -222,7 +222,7 @@ befs_readdir(struct file *filp, void *dirent, filldir_t filldir) | |||
222 | char keybuf[BEFS_NAME_LEN + 1]; | 222 | char keybuf[BEFS_NAME_LEN + 1]; |
223 | char *nlsname; | 223 | char *nlsname; |
224 | int nlsnamelen; | 224 | int nlsnamelen; |
225 | const char *dirname = filp->f_dentry->d_name.name; | 225 | const char *dirname = filp->f_path.dentry->d_name.name; |
226 | 226 | ||
227 | befs_debug(sb, "---> befs_readdir() " | 227 | befs_debug(sb, "---> befs_readdir() " |
228 | "name %s, inode %ld, filp->f_pos %Ld", | 228 | "name %s, inode %ld, filp->f_pos %Ld", |