[PATCH] struct path: convert romfs
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
1fc5adbd19
commit
3027795e7b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue