aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs/linuxvfs.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:36:52 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:44 -0500
commit28f375fd6ff266d8e321648b36456f696cfae220 (patch)
treee1352c013df38c76a76de6841f756fd008e47b06 /fs/befs/linuxvfs.c
parent76a0f17429f5dd82186eec2ee2f37f5a5237d1a8 (diff)
[PATCH] struct path: convert befs
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r--fs/befs/linuxvfs.c4
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)
212static int 212static int
213befs_readdir(struct file *filp, void *dirent, filldir_t filldir) 213befs_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",