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

Next file: linux/fs/udf/file.c
Previous file: linux/fs/sysv/symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/udf/dir.c linux/fs/udf/dir.c
@@ -50,19 +50,9 @@
 /* readdir and lookup functions */
 
 static struct file_operations udf_dir_operations = {
-	NULL,			/* lllseek */
-	NULL,			/* read */
-	NULL,			/* write */
-	udf_readdir,	/* readdir */
-	NULL,			/* poll */
-	udf_ioctl,		/* ioctl */
-	NULL,			/* mmap */
-	NULL,			/* open */
-	NULL,			/* flush */
-	NULL,			/* release */
-	udf_sync_file,	/* fsync */
-	NULL,			/* fasync */
-	NULL			/* lock */
+	readdir:	udf_readdir,
+	ioctl:		udf_ioctl,
+	fsync:		udf_sync_file,
 };
 
 struct inode_operations udf_dir_inode_operations = {
@@ -90,14 +80,6 @@
 	NULL,			/* mknod */
 	NULL,			/* rename */
 #endif
-	NULL,			/* readlink */
-	NULL,			/* follow_link */
-	NULL,			/* get_block */
-	NULL,			/* readpage */
-	NULL,			/* writepage */
-	NULL,			/* truncate */
-	NULL,			/* permission */
-	NULL			/* revalidate */
 };
 
 /*

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