patch-2.4.19 linux-2.4.19/fs/autofs4/inode.c

Next file: linux-2.4.19/fs/autofs4/root.c
Previous file: linux-2.4.19/fs/autofs4/autofs_i.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/fs/autofs4/inode.c linux-2.4.19/fs/autofs4/inode.c
@@ -314,7 +314,7 @@
 	if (S_ISDIR(inf->mode)) {
 		inode->i_nlink = 2;
 		inode->i_op = &autofs4_dir_inode_operations;
-		inode->i_fop = &autofs4_dir_operations;
+		inode->i_fop = &dcache_dir_ops;
 	} else if (S_ISLNK(inf->mode)) {
 		inode->i_size = inf->size;
 		inode->i_op = &autofs4_symlink_inode_operations;

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