From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:34 +0000 (-0800) Subject: [PATCH] struct path: convert romfs X-Git-Tag: v2.6.20-rc1~34^2~282 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3027795e7b873da643e851d62d17f6bcc43d6e4a;p=linux-2.6 [PATCH] struct path: convert romfs Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/romfs/inode.c b/fs/romfs/inode.c index c5af088d4a..d3e243a6f6 100644 --- a/fs/romfs/inode.c +++ b/fs/romfs/inode.c @@ -276,7 +276,7 @@ static unsigned char romfs_dtype_table[] = { static int romfs_readdir(struct file *filp, void *dirent, filldir_t filldir) { - struct inode *i = filp->f_dentry->d_inode; + struct inode *i = filp->f_path.dentry->d_inode; struct romfs_inode ri; unsigned long offset, maxoff; int j, ino, nextfh;