OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [autofs/] [dir.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* -*- 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
 */
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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.