diff options
-rw-r--r-- | fs/romfs/inode.c | 2 |
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[] = { | |||
276 | static int | 276 | static int |
277 | romfs_readdir(struct file *filp, void *dirent, filldir_t filldir) | 277 | romfs_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; |