patch-1.3.72 linux/include/linux/msdos_fs.h

Next file: linux/include/linux/msdos_fs_sb.h
Previous file: linux/include/linux/if_pppvar.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.71/linux/include/linux/msdos_fs.h linux/include/linux/msdos_fs.h
@@ -158,6 +158,9 @@
 
 #ifdef __KERNEL__
 
+typedef int (*fat_filldir_t)(filldir_t filldir, void *, const char *,
+			     int, int, off_t, off_t, int, ino_t);
+
 struct fat_cache {
 	kdev_t device; /* device number. 0 means unused. */
 	int ino; /* inode number. */
@@ -207,6 +210,9 @@
 
 /* dir.c */
 extern struct file_operations fat_dir_operations;
+extern int fat_readdirx(struct inode *inode, struct file *filp, void *dirent,
+			fat_filldir_t fat_filldir, filldir_t filldir,
+			int shortnames, int longnames, int both);
 extern int fat_readdir(struct inode *inode, struct file *filp,
 		       void *dirent, filldir_t);
 extern int fat_dir_ioctl(struct inode * inode, struct file * filp,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this