patch-2.3.43 linux/fs/minix/dir.c

Next file: linux/fs/minix/file.c
Previous file: linux/fs/minix/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/minix/dir.c linux/fs/minix/dir.c
@@ -23,17 +23,9 @@
 static int minix_readdir(struct file *, void *, filldir_t);
 
 static struct file_operations minix_dir_operations = {
-	NULL,			/* lseek - default */
-	minix_dir_read,		/* read */
-	NULL,			/* write - bad */
-	minix_readdir,		/* readdir */
-	NULL,			/* poll - default */
-	NULL,			/* ioctl - default */
-	NULL,			/* mmap */
-	NULL,			/* no special open code */
-	NULL,			/* flush */
-	NULL,			/* no special release code */
-	file_fsync		/* default fsync */
+	read:		minix_dir_read,
+	readdir:	minix_readdir,
+	fsync:		file_fsync,
 };
 
 /*
@@ -50,14 +42,6 @@
 	minix_rmdir,		/* rmdir */
 	minix_mknod,		/* mknod */
 	minix_rename,		/* rename */
-	NULL,			/* readlink */
-	NULL,			/* follow_link */
-	NULL,			/* get_block */
-	NULL,			/* readpage */
-	NULL,			/* writepage */
-	NULL,			/* truncate */
-	NULL,			/* permission */
-	NULL			/* revalidate */
 };
 
 static int minix_readdir(struct file * filp,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)