From: Josef Sipek Date: Fri, 8 Dec 2006 10:36:50 +0000 (-0800) Subject: [PATCH] struct path: convert adfs X-Git-Tag: v2.6.20-rc1~34^2~341 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=514653e25962c37b11fe648e4ef1c1130f697bcb;p=linux-2.6 [PATCH] struct path: convert adfs Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index d3c7905b2d..2b8903893d 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c @@ -28,7 +28,7 @@ static DEFINE_RWLOCK(adfs_dir_lock); static int adfs_readdir(struct file *filp, void *dirent, filldir_t filldir) { - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; struct super_block *sb = inode->i_sb; struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; struct object_info obj;