patch-2.3.48 linux/fs/isofs/dir.c

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

diff -u --recursive --new-file v2.3.47/linux/fs/isofs/dir.c linux/fs/isofs/dir.c
@@ -26,8 +26,9 @@
 
 static int isofs_readdir(struct file *, void *, filldir_t);
 
-static struct file_operations isofs_dir_operations =
+struct file_operations isofs_dir_operations =
 {
+	read:		generic_read_dir,
 	readdir:	isofs_readdir,
 };
 
@@ -36,9 +37,7 @@
  */
 struct inode_operations isofs_dir_inode_operations =
 {
-	&isofs_dir_operations,	/* default directory file-ops */
-	NULL,			/* create */
-	isofs_lookup,		/* lookup */
+	lookup:		isofs_lookup,
 };
 
 static int isofs_name_translate(char * old, int len, char * new)

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