Esempio n. 1
0
ssize_t sjfs_dir_fops_read(struct file *f, char __user *u, size_t s, loff_t *l) {
	printk("sjfs_dir_fops_read -> generic_read_dir\n");
	return generic_read_dir(f, u, s, l);
}
Esempio n. 2
0
ssize_t yramfs_dir_read(struct file *filp, char __user *buf, size_t siz,
loff_t *ppos)
{
    DBG_PRINT(" yramfs dir read %s... ", filp->f_dentry->d_name.name);
    return generic_read_dir(filp, buf, siz, ppos);
}