From: Josef Sipek Date: Fri, 8 Dec 2006 10:36:50 +0000 (-0800) Subject: [PATCH] struct path: convert adfs X-Git-Tag: Ubuntu-5.2.0-15.16~47164^2~341 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=514653e25962c37b11fe648e4ef1c1130f697bcb;p=mirror_ubuntu-eoan-kernel.git [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 d3c7905b2ddc..2b8903893d3f 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;