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

Next file: linux/fs/ufs/file.c
Previous file: linux/fs/udf/udfdecl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/ufs/dir.c linux/fs/ufs/dir.c
@@ -178,18 +178,8 @@
 }
 
 static struct file_operations ufs_dir_operations = {
-	NULL,			/* lseek */
-	NULL,			/* read */
-	NULL,			/* write */
-	ufs_readdir,		/* readdir */
-	NULL,			/* select */
-	NULL,			/* ioctl */
-	NULL,			/* mmap */
-	NULL,			/* open */
-	NULL,			/* flush */
-	NULL,			/* release */
-	file_fsync,		/* fsync */
-	NULL,			/* fasync */
+	readdir:	ufs_readdir,
+	fsync:		file_fsync,
 };
 
 struct inode_operations ufs_dir_inode_operations = {
@@ -205,9 +195,6 @@
 	ufs_rename,		/* rename */
 	NULL,			/* readlink */
 	NULL,			/* follow_link */
-	NULL,			/* get_block */
-	NULL,			/* readpage */
-	NULL,			/* writepage */
 	NULL,			/* truncate */
 	ufs_permission,		/* permission */
 	NULL			/* revalidate */

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