patch-2.4.19 linux-2.4.19/fs/autofs4/root.c
Next file: linux-2.4.19/fs/bad_inode.c
Previous file: linux-2.4.19/fs/autofs4/inode.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/fs/autofs4/root.c
- Orig date:
Mon Oct 23 21:57:38 2000
diff -urN linux-2.4.18/fs/autofs4/root.c linux-2.4.19/fs/autofs4/root.c
@@ -27,16 +27,15 @@
static struct dentry *autofs4_root_lookup(struct inode *,struct dentry *);
struct file_operations autofs4_root_operations = {
+ open: dcache_dir_open,
+ release: dcache_dir_close,
+ llseek: dcache_dir_lseek,
read: generic_read_dir,
readdir: dcache_readdir,
+ fsync: dcache_dir_fsync,
ioctl: autofs4_root_ioctl,
};
-struct file_operations autofs4_dir_operations = {
- read: generic_read_dir,
- readdir: dcache_readdir,
-};
-
struct inode_operations autofs4_root_inode_operations = {
lookup: autofs4_root_lookup,
unlink: autofs4_dir_unlink,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)