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

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

diff -urN linux-2.4.18/fs/autofs/inode.c linux-2.4.19/fs/autofs/inode.c
@@ -208,7 +208,7 @@
 	/* Initialize to the default case (stub directory) */
 
 	inode->i_op = &autofs_dir_inode_operations;
-	inode->i_fop = &autofs_dir_operations;
+	inode->i_fop = &dcache_dir_ops;
 	inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
 	inode->i_nlink = 2;
 	inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;

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