|
@@ -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;
|