From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:43 +0000 (-0800) Subject: [PATCH] struct path: convert sysv X-Git-Tag: v2.6.20-rc1~34^2~270 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5495ca657d854ac57733ce5a52eee52255b3f4d8;p=linux-2.6 [PATCH] struct path: convert sysv Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c index f2bef962d3..ebf7007fa1 100644 --- a/fs/sysv/dir.c +++ b/fs/sysv/dir.c @@ -70,7 +70,7 @@ fail: static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir) { unsigned long 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 offset = pos & ~PAGE_CACHE_MASK; unsigned long n = pos >> PAGE_CACHE_SHIFT;