aboutsummaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/romfs')
-rw-r--r--fs/romfs/inode.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
276static int 276static int
277romfs_readdir(struct file *filp, void *dirent, filldir_t filldir) 277romfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
278{ 278{
279 struct inode *i = filp->f_dentry->d_inode; 279 struct inode *i = filp->f_path.dentry->d_inode;
280 struct romfs_inode ri; 280 struct romfs_inode ri;
281 unsigned long offset, maxoff; 281 unsigned long offset, maxoff;
282 int j, ino, nextfh; 282 int j, ino, nextfh;