From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:34 +0000 (-0800) Subject: [PATCH] struct path: convert romfs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3027795e7b873da643e851d62d17f6bcc43d6e4a;p=openwrt%2Fstaging%2Fblogic.git [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 c5af088d4a4c..d3e243a6f609 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;