patch-2.1.55 linux/fs/romfs/inode.c
Next file: linux/fs/smbfs/dir.c
Previous file: linux/fs/readdir.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Sep 7 14:00:24 1997
- Orig file:
v2.1.54/linux/fs/romfs/inode.c
- Orig date:
Wed Sep 3 20:52:43 1997
diff -u --recursive --new-file v2.1.54/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -261,8 +261,9 @@
}
static int
-romfs_readdir(struct inode *i, struct file *filp, void *dirent, filldir_t filldir)
+romfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
+ struct inode *i = filp->f_dentry->d_inode;
struct romfs_inode ri;
unsigned long offset, maxoff;
int j, ino, nextfh;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov