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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [autofs/] [dir.c] - Diff between revs 1275 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1275 Rev 1765
/* -*- linux-c -*- --------------------------------------------------------- *
/* -*- linux-c -*- --------------------------------------------------------- *
 *
 *
 * linux/fs/autofs/dir.c
 * linux/fs/autofs/dir.c
 *
 *
 *  Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
 *  Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
 *
 *
 * This file is part of the Linux kernel and is made available under
 * This file is part of the Linux kernel and is made available under
 * the terms of the GNU General Public License, version 2, or at your
 * the terms of the GNU General Public License, version 2, or at your
 * option, any later version, incorporated herein by reference.
 * option, any later version, incorporated herein by reference.
 *
 *
 * ------------------------------------------------------------------------- */
 * ------------------------------------------------------------------------- */
 
 
#include "autofs_i.h"
#include "autofs_i.h"
 
 
/*
/*
 * No entries except for "." and "..", both of which are handled by the VFS
 * No entries except for "." and "..", both of which are handled by the VFS
 * layer. So all children are negative and dcache-based versions of operations
 * layer. So all children are negative and dcache-based versions of operations
 * are OK.
 * are OK.
 */
 */
static struct dentry *autofs_dir_lookup(struct inode *dir,struct dentry *dentry)
static struct dentry *autofs_dir_lookup(struct inode *dir,struct dentry *dentry)
{
{
        d_add(dentry, NULL);
        d_add(dentry, NULL);
        return NULL;
        return NULL;
}
}
 
 
struct inode_operations autofs_dir_inode_operations = {
struct inode_operations autofs_dir_inode_operations = {
        lookup:         autofs_dir_lookup,
        lookup:         autofs_dir_lookup,
};
};
 
 
 
 

powered by: WebSVN 2.1.0

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