⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dir.c

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 C
字号:
/* -*- linux-c -*- --------------------------------------------------------- * * * linux/fs/autofs/dir.c * *  Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved * * 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 * option, any later version, incorporated herein by reference. * * ------------------------------------------------------------------------- */#include "autofs_i.h"/* * 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 * are OK. */static struct dentry *autofs_dir_lookup(struct inode *dir,struct dentry *dentry){	d_add(dentry, NULL);	return NULL;}struct file_operations autofs_dir_operations = {	read:		generic_read_dir,	readdir:	dcache_readdir,};struct inode_operations autofs_dir_inode_operations = {	lookup:		autofs_dir_lookup,};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -