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

Next file: linux/fs/efs/file.c
Previous file: linux/fs/devpts/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/fs/efs/dir.c linux/fs/efs/dir.c
@@ -8,14 +8,13 @@
 
 static int efs_readdir(struct file *, void *, filldir_t);
 
-static struct file_operations efs_dir_operations = {
+struct file_operations efs_dir_operations = {
+	read:		generic_read_dir,
 	readdir:	efs_readdir,
 };
 
 struct inode_operations efs_dir_inode_operations = {
-	&efs_dir_operations,	/* default directory file-ops */
-	NULL,			/* create */
-	efs_lookup,		/* lookup */
+	lookup:		efs_lookup,
 };
 
 static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) {

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