patch-2.1.55 linux/fs/hpfs/hpfs_fs.c
Next file: linux/fs/inode.c
Previous file: linux/fs/fat/dir.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sun Sep 7 14:00:24 1997
- Orig file:
v2.1.54/linux/fs/hpfs/hpfs_fs.c
- Orig date:
Mon Aug 4 16:25:39 1997
diff -u --recursive --new-file v2.1.54/linux/fs/hpfs/hpfs_fs.c linux/fs/hpfs/hpfs_fs.c
@@ -189,7 +189,7 @@
static long hpfs_dir_read(struct inode *inode, struct file *filp,
char *buf, unsigned long count);
-static int hpfs_readdir(struct inode *inode, struct file *filp,
+static int hpfs_readdir(struct file *filp,
void *dirent, filldir_t filldir);
static int hpfs_lookup(struct inode *, struct dentry *);
@@ -1362,7 +1362,7 @@
}
}
-static int hpfs_readdir(struct inode *inode, struct file *filp, void * dirent,
+static int hpfs_readdir(struct file *filp, void * dirent,
filldir_t filldir)
{
struct quad_buffer_head qbh;
@@ -1371,6 +1371,7 @@
ino_t ino;
char * tempname;
long old_pos;
+ struct inode *inode = filp->f_dentry->d_inode;
if (inode == 0
|| inode->i_sb == 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov