patch-2.3.9 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.8/linux/fs/efs/dir.c linux/fs/efs/dir.c
@@ -25,6 +25,8 @@
 	NULL			/* revalidate */
 };
 
+extern int efs_get_block(struct inode *, long, struct buffer_head *, int);
+
 struct inode_operations efs_dir_inode_operations = {
 	&efs_dir_operations,	/* default directory file-ops */
 	NULL,			/* create */
@@ -38,12 +40,14 @@
 	NULL,			/* rename */
 	NULL,			/* readlink */
 	NULL,			/* follow_link */
+	efs_get_block,		/* get_block */
 	NULL,			/* readpage */
 	NULL,			/* writepage */
-	efs_bmap,		/* bmap */
+	NULL,			/* flushpage */
 	NULL,			/* truncate */
 	NULL,			/* permission */
-	NULL			/* smap */
+	NULL,			/* smap */
+	NULL			/* revalidate */
 };
 
 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)