1 /* -*- linux-c -*- --------------------------------------------------------- *
3 * linux/fs/autofs/dir.c
5 * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
7 * This file is part of the Linux kernel and is made available under
8 * the terms of the GNU General Public License, version 2, or at your
9 * option, any later version, incorporated herein by reference.
11 * ------------------------------------------------------------------------- */
16 * No entries except for "." and "..", both of which are handled by the VFS
17 * layer. So all children are negative and dcache-based versions of operations
20 static struct dentry
*autofs_dir_lookup(struct inode
*dir
,struct dentry
*dentry
)
26 struct file_operations autofs_dir_operations
= {
27 read
: generic_read_dir
,
28 readdir
: dcache_readdir
,
31 struct inode_operations autofs_dir_inode_operations
= {
32 lookup
: autofs_dir_lookup
,