1 /* -*- linux-c -*- --------------------------------------------------------- *
2  *
3  * linux/fs/autofs/dir.c
4  *
5  *  Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
6  *
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.
10  *
11  * ------------------------------------------------------------------------- */
12 
13 #include "autofs_i.h"
14 
15 /*
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
18  * are OK.
19  */
autofs_dir_lookup(struct inode * dir,struct dentry * dentry)20 static struct dentry *autofs_dir_lookup(struct inode *dir,struct dentry *dentry)
21 {
22 	d_add(dentry, NULL);
23 	return NULL;
24 }
25 
26 struct inode_operations autofs_dir_inode_operations = {
27 	lookup:		autofs_dir_lookup,
28 };
29 
30