dir.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) dir.c (496ad9aa8ef448058e36ca7a787c61f2e63f0f54)
1/*
2 * QNX4 file system, Linux implementation.
3 *
4 * Version : 0.2.1
5 *
6 * Using parts of the xiafs filesystem.
7 *
8 * History :
9 *
10 * 28-05-1998 by Richard Frowijn : first release.
11 * 20-06-1998 by Frank Denis : Linux 2.1.99+ & dcache support.
12 */
13
14#include <linux/buffer_head.h>
15#include "qnx4.h"
16
17static int qnx4_readdir(struct file *filp, void *dirent, filldir_t filldir)
18{
1/*
2 * QNX4 file system, Linux implementation.
3 *
4 * Version : 0.2.1
5 *
6 * Using parts of the xiafs filesystem.
7 *
8 * History :
9 *
10 * 28-05-1998 by Richard Frowijn : first release.
11 * 20-06-1998 by Frank Denis : Linux 2.1.99+ & dcache support.
12 */
13
14#include <linux/buffer_head.h>
15#include "qnx4.h"
16
17static int qnx4_readdir(struct file *filp, void *dirent, filldir_t filldir)
18{
19 struct inode *inode = filp->f_path.dentry->d_inode;
19 struct inode *inode = file_inode(filp);
20 unsigned int offset;
21 struct buffer_head *bh;
22 struct qnx4_inode_entry *de;
23 struct qnx4_link_info *le;
24 unsigned long blknum;
25 int ix, ino;
26 int size;
27

--- 58 unchanged lines hidden ---
20 unsigned int offset;
21 struct buffer_head *bh;
22 struct qnx4_inode_entry *de;
23 struct qnx4_link_info *le;
24 unsigned long blknum;
25 int ix, ino;
26 int size;
27

--- 58 unchanged lines hidden ---