From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:45 +0000 (-0800) Subject: [PATCH] struct path: convert ufs X-Git-Tag: MMI-PSA29.97-13-9~45897^2~268 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=763454d6108ad1c6d4e1013321aef8bf5efb3a4f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] struct path: convert ufs Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ufs/dir.c b/fs/ufs/dir.c index 7f0a0aa63584..433b6f68403a 100644 --- a/fs/ufs/dir.c +++ b/fs/ufs/dir.c @@ -426,7 +426,7 @@ static int ufs_readdir(struct file *filp, void *dirent, filldir_t filldir) { loff_t pos = filp->f_pos; - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; struct super_block *sb = inode->i_sb; unsigned int offset = pos & ~PAGE_CACHE_MASK; unsigned long n = pos >> PAGE_CACHE_SHIFT;